I use git bash on Windows to run commands.
In the doc on debugging they say the following:
If a process was started without --inspect, signal it with SIGUSR1 to activate the debugger and print the connection URL.
I tried to do that:
$ node index.js
server is listening on 3000
$ ps
PID COMMAND
16348 /c/Program Files/nodejs/node
$ kill -s SIGUSR1 16348
But then the process stops instead of printing the connection URL:
$ node index.js
server is listening on 3000
User defined signal 1