.@phpstorm Is there any documentation about how to debug a #Nodejs app in a #Docker #container in #webstorm ? Attaching a debugger just doesn't seem to work
-
-
b/c it should've been --inspect-brk. Also, the webserver is not working in debug. So, webserver is not working and breakpoints are not being triggered. About ports, I don't see how WS is mapping debug port from container to local for debug to work correctly
-
If you're using the Attach to Node.js configuration, you need to configure port mapping yourself when running the container or expose all ports.
- 6 more replies
New conversation -
-
-
Thank you for link. I've followed this tutorial exactly and it worked for the "run" configuration. When I tried to debug, I got this: docker://node:8/node --inspect=0.0.0.0:56336 --debug-brk /opt/project/hello_world.js which is obviously wrong >>
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.