node-inspect-debugger

Control the Node.js V8 inspector to debug runtime state and evaluate code.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires chrome-remote-interface.

What problem does it solve?

This skill resolves complex runtime issues in Node.js applications by providing programmatic access to the V8 inspector, allowing you to pause execution, inspect state, and trace call stacks without relying solely on console logs.

Core Features & Use Cases

  • Interactive Debugging: Use the built-in node inspect REPL to set breakpoints, step through code, and evaluate expressions in real-time.
  • Programmatic Control: Utilize the Chrome DevTools Protocol (CDP) to automate debugging sessions, capture heap snapshots, or profile CPU usage.
  • Use Case: When a specific React component in the Hermes TUI behaves unexpectedly, use this skill to attach to the process, set a breakpoint at the render function, and inspect the component props and state directly.

Quick Start

Use the node-inspect-debugger skill to attach to the running process with PID 1234 and set a breakpoint at line 50 of the main application file.

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 without relying on console logs?

Debug a running Node.js process by attaching the node inspect debugger via PID, setting breakpoints, and inspecting state programmatically through the V8 inspector to pause execution and trace call stacks without console logs.

Can I capture CPU profiles and heap snapshots programmatically using the Chrome DevTools Protocol?

Capture CPU profiles and heap snapshots programmatically by utilizing the Chrome DevTools Protocol (CDP) to automate debugging sessions and perform deep runtime analysis of your Node.js application.

How do I inspect asynchronous flows and TUI component state in the Hermes environment?

Inspect asynchronous flows and TUI component state in the Hermes environment by attaching the debugger, setting a breakpoint at the target function, and evaluating props and state directly within the paused execution frame.

What is the best way to set breakpoints and evaluate expressions in real-time during Node.js debugging?

Use the built-in node inspect REPL to set breakpoints and evaluate expressions in real-time, leveraging interactive debugging capabilities to step through code and inspect runtime variables during execution.

Does the node inspect debugger work with child processes in Node.js?

The node inspect debugger works with child processes in Node.js by facilitating deep runtime analysis and state inspection of complex asynchronous flows within the Hermes environment using native CLI tools and the V8 inspector.