Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 06-Apr-2021 | - | ||||
examples/cjs/ | H | 03-May-2022 | - | |||
lib/internal/ | H | 03-May-2022 | - | |||
test/cli/ | H | 06-Apr-2021 | - | |||
tools/eslint-rules/ | H | 06-Apr-2021 | - | |||
.editorconfig | H A D | 06-Apr-2021 | 171 | 12 | 9 | |
.eslintrc | H A D | 06-Apr-2021 | 3.7 KiB | 148 | 136 | |
.gitignore | H A D | 06-Apr-2021 | 38 | 5 | 4 | |
.npmrc | H A D | 06-Apr-2021 | 55 | 3 | 2 | |
.travis.yml | H A D | 06-Apr-2021 | 288 | 14 | 13 | |
CHANGELOG.md | H A D | 06-Apr-2021 | 21.2 KiB | 289 | 185 | |
CONTRIBUTING.md | H A D | 06-Apr-2021 | 7.6 KiB | 182 | 136 | |
GOVERNANCE.md | H A D | 06-Apr-2021 | 185 | 5 | 3 | |
LICENSE | H A D | 06-Apr-2021 | 1.1 KiB | 20 | 16 | |
README.md | H A D | 06-Apr-2021 | 914 | 30 | 21 | |
appveyor.yml | H A D | 06-Apr-2021 | 176 | 14 | 10 | |
package.json | H A D | 06-Apr-2021 | 907 | 46 | 45 |
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