Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.
/ node-inspect Public archive

Code that's now part of node, previously `node debug` for `node --inspect`

License

Notifications You must be signed in to change notification settings

nodejs/node-inspect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9043c69 · Jul 29, 2021
Jan 22, 2020
Mar 15, 2017
Dec 11, 2020
Sep 21, 2020
Nov 18, 2016
Sep 3, 2016
May 31, 2018
Dec 12, 2016
May 31, 2018
Jun 3, 2019
Dec 5, 2020
Jan 3, 2017
Sep 3, 2016
Jul 29, 2021
Dec 12, 2016
Sep 3, 2016
Sep 21, 2020

Repository files navigation

node-inspect

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>
       node-inspect --port=<port>

References