nodejs/node-inspect

Name: node-inspect

Owner: Node.js Foundation

Description: `node debug` for `node --inspect`

Created: 2016-09-03 02:16:41.0

Updated: 2018-01-09 15:25:33.0

Pushed: 2018-01-18 18:42:37.0

Homepage:

Size: 205

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

node-inspect

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.

e: node-inspect script.js
   node-inspect <host>:<port>
References

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.