easy-node-inspector

Easier way to quickly open node-inspector; feels more like an app than a browser tab.

Usage no npm install needed!

<script type="module">
  import easyNodeInspector from 'https://cdn.skypack.dev/easy-node-inspector';
</script>

README

easy-node-inspector

Quick-and-dirty CLI interface to node-inspector; makes it a bit easier to open the debugger.

$ npm install -g easy-node-inspector
$ easy-node-debug ./my-script.js

Unlike node-inspector, which requires accessing web inspector in the browser, this launches it as its own app via nw.js. It also finds free web and debug ports, so you don't have to worry about specifying those.

TODO list

  • quickly attach to already-running node process
  • list running processes and their PIDs?
    • Can use tasklist or node-ps
  • Can you run two debuggers at once?