node-inspect-debugger

Attach the Node.js inspector to pause execution and inspect stack frames, scopes, and expressions.

Updated May 24, 2026
One-click install
npx skills add https://github.com/anxiety135790/hermes-skills --skill node-inspect-debugger-anxiety135790
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/anxiety135790/hermes-skills/tree/main/software-development/node-inspect-debugger
Command: npx skills add https://github.com/anxiety135790/hermes-skills --skill node-inspect-debugger-anxiety135790

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires chrome-remote-interface.

What problem does it solve?

This Skill helps you debug Node.js applications when logging is not enough, letting you pause execution, inspect scope, and understand runtime behavior directly from the terminal.

Core Features & Use Cases

  • Interactive Node debugging: Use the built-in inspector REPL to continue, step, set breakpoints, and inspect call stacks in real time.
  • Programmatic debugging with CDP: Automate breakpoint handling, scope inspection, expression evaluation, CPU profiling, and heap snapshots with Chrome DevTools Protocol clients.
  • Practical troubleshooting: Debug failing tests, inspect Ink or TUI state, attach to running processes, and diagnose closure values or async hangs.

Quick Start

Ask the assistant to attach to your Node process, set a breakpoint in the suspected file, and inspect the paused variables and call stack.

Frequently Asked Questions about node-inspect-debugger

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a running Node.js process when it hangs or crashes?

Node.js debugging attaches the inspector to running processes, pausing execution to inspect call stacks, scopes, and evaluated expressions. You can attach to live server hangs or TUI crashes directly from the terminal without relying on logging.

Can I use Chrome DevTools Protocol to automate Node.js CPU profiling and heap snapshots?

Yes, you can automate CPU profiling and heap snapshots using Chrome DevTools Protocol clients. This programmatic approach handles breakpoint control, scope inspection, and expression evaluation for Node.js applications.

What is the best way to inspect closure values in a failing Node.js test?

The best way to inspect closure values is by setting breakpoints in the suspected file and pausing execution. This allows you to investigate runtime behavior, inspect paused variables, and trace the call stack in real time using the inspector REPL.

Does Node.js inspector debugging work with terminal UI frameworks like Ink?

Yes, Node.js inspector debugging works with TUI frameworks like Ink. You can attach to the process, pause execution, and inspect TUI state directly to diagnose crashes or unexpected behavior in the terminal interface.

How do I set breakpoints and step through Node.js code from the terminal?

You can set breakpoints and step through Node.js code using the built-in inspector REPL. This interactive debugging method lets you continue execution, set breakpoints, and inspect call stacks in real time without a graphical interface.