node-inspect-debugger

Control Node.js inspector breakpoints, call stacks, and variables via Chrome DevTools Protocol.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you debug Node.js applications when simple logging is not enough, giving you direct control over execution so you can inspect paused state, call stacks, and variable values.

Core Features & Use Cases

  • Interactive stepping: Pause execution, step through code, and move in, over, or out of functions while tracing the exact flow of a failing script.
  • Deep runtime inspection: Examine locals, closure variables, and evaluated expressions in a paused frame to understand why a value is wrong or missing.
  • Real-world debugging: Attach to running services, investigate test failures, troubleshoot Ink or tsx-based TUI apps, and capture CPU or heap profiles for performance issues.

Quick Start

Ask the assistant to attach to the target Node.js process, set the right breakpoint, continue execution, and inspect the paused stack and variables.

Frequently Asked Questions about node-inspect-debugger

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

FAQPage Schema
How do I set breakpoints and inspect variables in a Node.js process from the terminal?

To debug Node.js from the terminal, you control the built-in inspector and Chrome DevTools Protocol to set live breakpoints, step through code execution, and dump scope variables directly in your CLI.

Can I attach a debugger to an already running Node.js service?

Yes, you can attach the debugger to long-lived running Node.js services, pause execution at targeted breakpoints, and inspect call stacks and local variables without restarting the application.

Does Node.js terminal debugging work with Ink or tsx TUI applications?

Yes, terminal debugging via the Node.js inspector fully supports troubleshooting Ink or tsx-based TUI apps by allowing interactive stepping and runtime state inspection during execution.

How do I capture CPU and heap profiles for a Node.js application?

You can capture CPU and heap profiles by controlling the Chrome DevTools Protocol from the terminal, enabling performance profiling to investigate bottlenecks and memory issues in your Node.js process.

What is the best way to inspect closure variables and evaluate expressions in a paused Node.js frame?

The best way to inspect paused state is using the Node.js inspector to dump scope variables, examine closure values, and evaluate live expressions within the current call stack frame.