Highlights: * Remove use of `process.binding` on modern node (@addaleax) * Increase timeout for port checking (@yilmazdurmaz) * Auto-resume on start when `NODE_INSPECT_RESUME_ON_START` is set (@dolsem) Compare: https://github.com/nodejs/node-inspect/compare/v1.11.6...v2.0.0 PR-URL: https://github.com/nodejs/node/pull/33447 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
||
|---|---|---|
| .. | ||
| .github/workflows | ||
| examples | ||
| lib | ||
| test/cli | ||
| 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 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>