You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jan Krems b57f9ee3bf deps: Add node-inspect 1.10.6 8 years ago
..
examples deps: Add node-inspect 1.10.6 8 years ago
lib deps: Add node-inspect 1.10.6 8 years ago
test deps: Add node-inspect 1.10.6 8 years ago
tools/eslint-rules deps: add node-inspect 1.10.2 8 years ago
.editorconfig deps: add node-inspect 1.10.2 8 years ago
.eslintrc deps: add node-inspect 1.10.2 8 years ago
.gitignore deps: add node-inspect 1.10.2 8 years ago
.npmrc deps: add node-inspect 1.10.2 8 years ago
.travis.yml deps: add node-inspect 1.10.2 8 years ago
CHANGELOG.md deps: Add node-inspect 1.10.6 8 years ago
CONTRIBUTING.md deps: Add node-inspect 1.10.6 8 years ago
GOVERNANCE.md deps: Add node-inspect 1.10.6 8 years ago
LICENSE deps: add node-inspect 1.10.2 8 years ago
README.md deps: add node-inspect 1.10.2 8 years ago
appveyor.yml deps: add node-inspect 1.10.2 8 years ago
cli.js deps: add node-inspect 1.10.2 8 years ago
package.json deps: Add node-inspect 1.10.6 8 years ago

README.md

node-inspect

npm install --global node-inspect

For the old V8 debugger protocol, node has two options:

  1. node --debug <file>: Start file with remote debugging enabled.
  2. node debug <file>: Start an interactive CLI debugger for <file>.

But for the Chrome inspector protol, there's only one: node --inspect <file>.

This project tries to provide the missing second option by re-implementing node debug against the new protocol.

Usage: node-inspect script.js
       node-inspect <host>:<port>

References