| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| .github/workflows/ | 12-May-2024 | - | 32 | 24 | ||
| examples/ | 12-May-2024 | - | 83 | 67 | ||
| lib/ | 12-May-2024 | - | 1,859 | 1,474 | ||
| test/cli/ | 12-May-2024 | - | 1,236 | 1,057 | ||
| tools/eslint-rules/ | 12-May-2024 | - | 442 | 286 | ||
| .editorconfig | D | 12-May-2024 | 171 | 12 | 9 | |
| .eslintrc | D | 12-May-2024 | 3.7 KiB | 148 | 136 | |
| .gitignore | D | 12-May-2024 | 38 | 5 | 4 | |
| .npmrc | D | 12-May-2024 | 55 | 3 | 2 | |
| .travis.yml | D | 12-May-2024 | 288 | 14 | 13 | |
| CHANGELOG.md | D | 12-May-2024 | 21.9 KiB | 297 | 190 | |
| CONTRIBUTING.md | D | 12-May-2024 | 7.6 KiB | 182 | 136 | |
| GOVERNANCE.md | D | 12-May-2024 | 185 | 5 | 3 | |
| LICENSE | D | 12-May-2024 | 1.1 KiB | 20 | 16 | |
| README.md | D | 12-May-2024 | 914 | 30 | 21 | |
| appveyor.yml | D | 12-May-2024 | 176 | 14 | 10 | |
| cli.js | D | 12-May-2024 | 45 | 3 | 2 | |
| package.json | D | 12-May-2024 | 905 | 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