]
Xavier Coulon updated JBIDE-21699:
----------------------------------
Attachment: Screenshot 2016-03-25 12.07.45.png
Stopping the debug mode on the server adapter does not stop the launched debugger process
Enable debug mode on deployment config
--------------------------------------
Key: JBIDE-21699
URL:
https://issues.jboss.org/browse/JBIDE-21699
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: openshift
Reporter: Fred Bricon
Assignee: Fred Bricon
Priority: Critical
Fix For: 4.3.1.CR1
Attachments: Screenshot 2016-03-25 12.07.45.png
When clicking on the Debug button of the server adapter, the Debug variables should be
set, if necessary.
The remote debug port could be read from server adapter preferences, default to 8787
{code}
{
"name" : "debug",
"containerPort" : 8787,
"protocol" : "TCP"
}
{code}
* and to spec.containers.env:
{code}
{
"name" : "DEBUG",
"value" : "true"
},
{
"name" : "DEBUG_PORT",
"value" : "8787"
}
{code}
If the remote debug port was already set (possibly to another value), then it should be
returned