Closed davidffrench closed 6 years ago
https://issues.jboss.org/browse/RHMAP-20884 https://issues.jboss.org/browse/RHMAP-20593
Update Dockerfile.dev to use forever npm Fixing the CMD in the Dockerfile.dev to run this component in debug mode.
Having the component run in debug mode allows us to attach a remote debugger (e.g. from VS Code).
When using the forever module, running node in debug mode requires the command to be specified like so -c "node --debug"
-c "node --debug"
Debugger listening on [::]:5858
Jira link(s)
https://issues.jboss.org/browse/RHMAP-20884 https://issues.jboss.org/browse/RHMAP-20593
What
Update Dockerfile.dev to use forever npm Fixing the CMD in the Dockerfile.dev to run this component in debug mode.
Why
Having the component run in debug mode allows us to attach a remote debugger (e.g. from VS Code).
How
When using the forever module, running node in debug mode requires the command to be specified like so
-c "node --debug"
Verification Steps
Debugger listening on [::]:5858
Debugger listening on [::]:5858
Debugger listening on [::]:5858
Debugger listening on [::]:5858
Checklist: