[jbosstools-issues] [JBoss JIRA] (JBIDE-24185) Server adapter: approach to set nodejs/eap apps to debugging is inconsistent

Jeff MAURY (JIRA) issues at jboss.org
Wed Apr 18 12:13:38 EDT 2018


     [ https://issues.jboss.org/browse/JBIDE-24185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff MAURY updated JBIDE-24185:
-------------------------------
    Fix Version/s: 4.6.x
                       (was: 4.5.x)


> 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: Task
>          Components: openshift
>    Affects Versions: 4.4.4.AM2
>            Reporter: Andre Dietisheim
>              Labels: openshift_v3, server_adapter
>             Fix For: 4.6.x
>
>
> * 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#nodejs-configuration



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list