Remote Nodejs debugging with webstorm

How can I configure remote debugging to use "inspect" vs "V8" debugging?
I've tried both but I keep getting a "Connection Refused."  The server is an AWS EC2 server with "all traffic" enabled to my IP address.  This always worked for me before, but this is my first time debugging with node 7.

 

0
2 comments

To remotely debug application with Chrome Debugging Protocol (with --inspect/--inspect-brk), you need using Chromium Remote run configuration

0
Avatar
Permanently deleted user

I found the problem -- the remote node listener was listening only on (localhost) 127.0.0.1. I had to add "=0.0.0.0" to listen for the remote debugger connection.
--inspect-brk=0.0.0.0:9229

 

0

Please sign in to leave a comment.