nodejs/deps/node-inspect
Lu zhiping e08d89c7a7 Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
..
.github/workflows Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
examples Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
lib Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
test/cli Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
tools/eslint-rules Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
.editorconfig Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
.eslintrc Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
.gitignore Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
.npmrc Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
.travis.yml Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
CHANGELOG.md Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
CONTRIBUTING.md Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
GOVERNANCE.md Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
LICENSE Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
README.md Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
appveyor.yml Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
cli.js Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00
package.json Import Upstream version 12.22.9~dfsg 2022-08-16 11:12:47 +08:00

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