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
One more option to use 0.0.0.0 to listen to request from outside:
0.0.0.0
node-debug --web-host=0.0.0.0 --cli app.js
and visit this address to debug:
http://:8080/?port=5858
it would be better if HTTP/2 is available since there are lots of small files.