Start the debugger listener on an already running Node.js process.
Can be installed globally:
$ npm install -g late-inspect
Or as a local tool on the project directory:
$ npm install --save late-inspect
When installed globally:
$ inspect [process id]
When installed locally from the project directory:
$ ./node_modules/.bin/inspect [process id]
Will signal a running Node.js process with that id to start the debugger listener. Same effect as running with the --inspect flag without the need to restart the process.
Works on Windows, Mac and Unix systems.
To get a list of running Node.js process ids:
$ inspect --list
Will return a list of all running Node.js processes with their process id, command and arguments list.
For more available options run with -h or --help