node-inspect-debugger

Debug Node.js execution and paused-frame state via the terminal.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you inspect live Node.js execution when console logging is not enough, so you can pause code, trace stack frames, and understand exactly why a bug is happening.

Core Features & Use Cases

  • Interactive Debugging: Attach to a Node process, set breakpoints, step through execution, and inspect local or closure scope values.
  • Flexible Workflows: Use the built-in terminal debugger for quick investigation or Chrome DevTools Protocol for scripted, repeatable debugging sessions.
  • Practical Scenarios: Ideal for failing tests, long-running services, UI or TUI crashes, child-process issues, and runtime performance checks such as CPU profiles or heap snapshots.

Quick Start

Ask me to attach to your Node.js process, set the right breakpoint, and walk through the paused code path until the root cause is clear.

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 Node.js process from the terminal?

To debug Node.js from the terminal, you attach to the live process using the built-in terminal debugger or Chrome DevTools Protocol. This allows you to set breakpoints, step through paused code, and inspect stack frames.

Can I inspect closure scope values in a paused Node.js execution?

Yes, you can inspect closure scope values in a paused Node.js execution by attaching to the process via the inspector. This allows you to evaluate expressions and examine local variables within the current frame.

How do I debug failing tests and child-process behavior in Node.js?

Debugging failing tests and child-process behavior in Node.js involves attaching the inspector to the runtime. You can set breakpoints in the test or child process path to step through execution and trace the root cause.

Does this debugging approach work with long-running services and TUI crashes?

Yes, this debugging approach works with long-running services and TUI crashes. By attaching to the live Node.js process, you can pause execution at breakpoints to investigate the paused-frame state and stack traces.

What is the best way to capture CPU profiles and heap snapshots in Node.js?

The best way to capture CPU profiles and heap snapshots in Node.js is by using the Chrome DevTools Protocol. This allows you to attach to the live process and run optional CPU or heap profiling to check runtime performance.

When should I use the Chrome DevTools Protocol instead of the terminal debugger?

You should use the Chrome DevTools Protocol instead of the terminal debugger when you need scripted, repeatable debugging sessions. The terminal debugger is better suited for quick, interactive investigations of stack frames.