I would like to connect to my node server running in debug mode on AWS (node --debug app.js) from my development machine, and be able to debug my app remotely.
Two quest
This is what worked for me:
--debug
flag.Debugger listening on port DEBUG_PORT
message.8080
, not the DEBUG_PORT
as Andrey Sidorov's answer suggests.SERVER_API:8080/debug?ws=127.0.0.1:8080&port=DEBUG_PORT
in browser an voilà.Node Inspector v0.10.1