• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..06-Apr-2021-

examples/cjs/H03-May-2022-

lib/internal/H03-May-2022-

test/cli/H06-Apr-2021-

tools/eslint-rules/H06-Apr-2021-

.editorconfigH A D06-Apr-2021171 129

.eslintrcH A D06-Apr-20213.7 KiB148136

.gitignoreH A D06-Apr-202138 54

.npmrcH A D06-Apr-202155 32

.travis.ymlH A D06-Apr-2021288 1413

CHANGELOG.mdH A D06-Apr-202121.2 KiB289185

CONTRIBUTING.mdH A D06-Apr-20217.6 KiB182136

GOVERNANCE.mdH A D06-Apr-2021185 53

LICENSEH A D06-Apr-20211.1 KiB2016

README.mdH A D06-Apr-2021914 3021

appveyor.ymlH A D06-Apr-2021176 1410

package.jsonH A D06-Apr-2021907 4645

README.md

1# `node-inspect`
2
3```bash
4npm install --global node-inspect
5```
6
7For the old V8 debugger protocol,
8node has two options:
9
101. `node --debug <file>`: Start `file` with remote debugging enabled.
112. `node debug <file>`: Start an interactive CLI debugger for `<file>`.
12
13But for the Chrome inspector protocol,
14there's only one: `node --inspect <file>`.
15
16This project tries to provide the missing second option
17by re-implementing `node debug` against the new protocol.
18
19```
20Usage: node-inspect script.js
21       node-inspect <host>:<port>
22```
23
24#### References
25
26* [Debugger Documentation](https://nodejs.org/api/debugger.html)
27* [EPS: `node inspect` CLI debugger](https://github.com/nodejs/node-eps/pull/42)
28* [Debugger Protocol Viewer](https://chromedevtools.github.io/debugger-protocol-viewer/)
29* [Command Line API](https://developers.google.com/web/tools/chrome-devtools/debug/command-line/command-line-reference?hl=en)
30