• Home
Name Date Size #Lines LOC

..--

.github/workflows/12-May-2024-3224

examples/12-May-2024-8367

lib/12-May-2024-1,8591,474

test/cli/12-May-2024-1,2361,057

tools/eslint-rules/12-May-2024-442286

.editorconfigD12-May-2024171 129

.eslintrcD12-May-20243.7 KiB148136

.gitignoreD12-May-202438 54

.npmrcD12-May-202455 32

.travis.ymlD12-May-2024288 1413

CHANGELOG.mdD12-May-202421.9 KiB297190

CONTRIBUTING.mdD12-May-20247.6 KiB182136

GOVERNANCE.mdD12-May-2024185 53

LICENSED12-May-20241.1 KiB2016

README.mdD12-May-2024914 3021

appveyor.ymlD12-May-2024176 1410

cli.jsD12-May-202445 32

package.jsonD12-May-2024905 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