[jbosstools-issues] [JBoss JIRA] (JBIDE-24185) Server adapter: DEV_MODE and DEBUG are inconsistent btw. nodejs and eap

Andre Dietisheim (JIRA) issues at jboss.org
Mon Apr 3 06:01:00 EDT 2017


Andre Dietisheim created JBIDE-24185:
----------------------------------------

             Summary: Server adapter: DEV_MODE and DEBUG are inconsistent btw. nodejs and eap
                 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


* 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}
** 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}




--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list