0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/deps/node-inspect
Glen Keane 30fd3d25df src: Remove lttng support.
This cleans up and removes lttng support completely. Recent discussion
on a PR to deprecate lttng suggested that we remove it completely
pending feedback from the TSC.

This should be considered a non breaking change, as a recent PR reveals
that compiling with this system has been broken for nearly two years.

Refs: https://github.com/nodejs/node/issues/18971
Refs: https://github.com/nodejs/node/pull/18975
Refs: https://github.com/nodejs/node/pull/18945

PR-URL: https://github.com/nodejs/node/pull/18982
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jackson Tian <shyvo1987@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-03-01 16:44:43 +00:00
..
examples
lib deps: update node-inspect to 1.11.3 2018-02-01 13:39:40 +01:00
test/cli deps: update node-inspect to 1.11.3 2018-02-01 13:39:40 +01:00
tools/eslint-rules
.editorconfig
.eslintrc src: Remove lttng support. 2018-03-01 16:44:43 +00:00
.gitignore
.npmrc
.travis.yml
appveyor.yml
CHANGELOG.md deps: update node-inspect to 1.11.3 2018-02-01 13:39:40 +01:00
cli.js
CONTRIBUTING.md
GOVERNANCE.md
LICENSE
package.json deps: update node-inspect to 1.11.3 2018-02-01 13:39:40 +01:00
README.md deps: update node-inspect to 1.11.3 2018-02-01 13:39:40 +01:00

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