tree: 3cac4b97e0d2ab22346e0f21d59d2516d440d980 [path history] [tgz]
  1. examples/
  2. lib/
  3. test/
  4. tools/
  5. .editorconfig
  6. .eslintrc
  7. .gitignore
  8. .npmrc
  9. .travis.yml
  10. appveyor.yml
  11. CHANGELOG.md
  12. cli.js
  13. CONTRIBUTING.md
  14. GOVERNANCE.md
  15. LICENSE
  16. package.json
  17. README.md
deps/node-inspect/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 protocol, 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