diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-04-03 15:43:32 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-04-03 15:45:57 +0200 |
commit | 71e285b94c7edaa43aa8115965cf5a36b8e0f80a (patch) | |
tree | 7d4aa9d0d5aff686b106cd5da72ba77960c4af43 /deps/node/deps/node-inspect/README.md | |
parent | 7dadf9356b4f3f4137ce982ea5bb960283116e9a (diff) | |
download | akono-71e285b94c7edaa43aa8115965cf5a36b8e0f80a.tar.gz akono-71e285b94c7edaa43aa8115965cf5a36b8e0f80a.tar.bz2 akono-71e285b94c7edaa43aa8115965cf5a36b8e0f80a.zip |
Node.js v11.13.0
Diffstat (limited to 'deps/node/deps/node-inspect/README.md')
-rw-r--r-- | deps/node/deps/node-inspect/README.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/deps/node/deps/node-inspect/README.md b/deps/node/deps/node-inspect/README.md new file mode 100644 index 00000000..b52cc188 --- /dev/null +++ b/deps/node/deps/node-inspect/README.md @@ -0,0 +1,29 @@ +# `node-inspect` + +```bash +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 + +* [Debugger Documentation](https://nodejs.org/api/debugger.html) +* [EPS: `node inspect` CLI debugger](https://github.com/nodejs/node-eps/pull/42) +* [Debugger Protocol Viewer](https://chromedevtools.github.io/debugger-protocol-viewer/) +* [Command Line API](https://developers.google.com/web/tools/chrome-devtools/debug/command-line/command-line-reference?hl=en) |