node/deps/node-inspect
Jan Krems 6961c7f804
deps: update node-inspect to v2.0.0
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>
2020-05-20 12:36:34 +02:00
..
.github/workflows deps: update node-inspect to v2.0.0 2020-05-20 12:36:34 +02:00
examples deps: Add node-inspect 1.10.6 2017-03-17 10:48:58 -07:00
lib deps: update node-inspect to v2.0.0 2020-05-20 12:36:34 +02:00
test/cli deps: update node-inspect to v2.0.0 2020-05-20 12:36:34 +02:00
tools/eslint-rules
.editorconfig
.eslintrc deps: Upgrade node-inspect to 1.11.5 2018-06-14 18:46:01 +02:00
.gitignore
.npmrc deps: Upgrade node-inspect to 1.11.5 2018-06-14 18:46:01 +02:00
.travis.yml
CHANGELOG.md deps: update node-inspect to v1.11.6 2019-06-05 08:20:18 -07:00
CONTRIBUTING.md deps: Add node-inspect 1.10.6 2017-03-17 10:48:58 -07:00
GOVERNANCE.md deps: Add node-inspect 1.10.6 2017-03-17 10:48:58 -07:00
LICENSE
README.md deps: update node-inspect to 1.11.3 2018-02-01 13:39:40 +01:00
appveyor.yml
cli.js
package.json deps: update node-inspect to v2.0.0 2020-05-20 12:36:34 +02: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