1.1.1 • Published 6 years ago
late-inspect v1.1.1
late-inspect
Start the debugger listener on an already running Node.js process.
Installation
Can be installed globally:
$ npm install -g late-inspect
Or as a local tool on the project directory:
$ npm install --save late-inspect
Usage
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.
Obtaining Process ID
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