-
Task
-
Resolution: Unresolved
-
Major
-
4.4.4.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".
"com.redhat.dev-mode": "DEBUG:true",
- 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
"com.redhat.dev-mode.port": "DEBUG_PORT:8787"
- 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".
- 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
"com.redhat.dev-mode": "DEV_MODE:false", "com.redhat.dev-mode.port": "DEBUG_PORT:5858",
The documentation actually confirms the fact that :5858 is the default: https://docs.openshift.org/latest/using_images/s2i_images/nodejs.html#nodejs-configuration
- 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
- is related to
-
JBIDE-24184 Server adapter: DEV_MODE, DEBUG_MODE, DEBUG_PORT keys (and default values) are hard-coded, not read from docker image
- Closed