To set up Node remote debugging, simply run the node process with the --debug
flag. You can add a port on which the debugger should run using --debug=<port>
.
When your node process starts up you should see the message
Debugger listening on port <port>
Which will tell you that everything is good to go.
Then you set up the remote debugging target in your specific IDE.