Squashed from: - deps: Add node-inspect 1.10.1 This adds a reimplementation of the old CLI debugger (`node debug`) against the new debugger protocol (`node --inspect`). This is necessary because the old protocol won't be supported in future versions of V8. - deps: Update node-inspect to 1.10.2 Starting with 1.10.2 the test suite should pass consistently on windows. - deps: Update to node-inspect 1.10.4 PR-URL: https://github.com/nodejs/node/pull/10187 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
|---|---|---|
| .. | ||
| examples | ||
| lib | ||
| test | ||
| tools/eslint-rules | ||
| .editorconfig | ||
| .eslintrc | ||
| .gitignore | ||
| .npmrc | ||
| .travis.yml | ||
| appveyor.yml | ||
| CHANGELOG.md | ||
| cli.js | ||
| CONTRIBUTING.md | ||
| GOVERNANCE.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
node-inspect
npm install --global node-inspect
For the old V8 debugger protocol, node has two options:
node --debug <file>: Startfilewith remote debugging enabled.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>