[JBoss JIRA] (JBIDE-24185) Server adapter: approach to set nodejs/eap apps to debugging is inconsistent
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24185?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-24185:
-------------------------------------
Fix Version/s: 4.5.0.AM2
(was: 4.5.0.AM1)
> Server adapter: approach to set nodejs/eap apps to debugging is inconsistent
> ----------------------------------------------------------------------------
>
> Key: JBIDE-24185
> URL: https://issues.jboss.org/browse/JBIDE-24185
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.4.AM2
> Reporter: Andre Dietisheim
> Labels: openshift_v3, server_adapter
> Fix For: 4.5.0.AM2
>
>
> * eap
> ** if you want to debug you have to set *DEBUG* env variable in the rc to *true*. The env variable key is defined in the docker image label *"com.redhat.dev-mode"*.
> {code}
> "com.redhat.dev-mode": "DEBUG:true",
> {code}
> ** to use a custom debugging port you can set the *DEBUG_PORT* env var. The default port is 8787 as defined in the docker image label
> {code}
> "com.redhat.dev-mode.port": "DEBUG_PORT:8787"
> {code}
> * nodejs
> ** to debug a nodejs application you have to set *DEV_MODE* to *true* and also set *DEBUG_PORT* to some value, even though the docker image label defines the default port as being *5858*
> {code}
> "com.redhat.dev-mode": "DEV_MODE:false",
> "com.redhat.dev-mode.port": "DEBUG_PORT:5858",
> {code}
> The documentation actually confirms the fact that :5858 is the default: https://docs.openshift.org/latest/using_images/s2i_images/nodejs.html#nod...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 5 months