node-inspect-debugger

Debug Node.js applications via V8 inspector and Chrome DevTools Protocol.

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

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 deep visibility into execution state, call stacks, and variable scopes that standard logging cannot reach.

Core Features & Use Cases

  • Interactive Debugging: Utilize the built-in V8 inspector to set breakpoints, step through code, and inspect closures in real-time.
  • Programmatic Control: Automate debugging sessions using the Chrome DevTools Protocol (CDP) to capture heap snapshots, CPU profiles, or state data from non-interactive processes.
  • Use Case: When a TUI component or background worker behaves unexpectedly, use this skill to attach to the process, pause execution at a specific line, and evaluate the current state of local variables.

Quick Start

Use the node-inspect-debugger skill to attach to the running Node.js process with the specified process ID and begin an interactive debugging session.

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 application using the V8 inspector?

Debug Node.js applications using the V8 inspector by attaching to a running process to set breakpoints, step through code, and inspect closures. This provides deep visibility into execution state and call stacks that standard logging cannot reach.

Can I automate capturing heap snapshots and CPU profiles for Node.js?

Automate capturing heap snapshots and CPU profiles for Node.js by using programmatic Chrome DevTools Protocol (CDP) control. This extracts state data from non-interactive processes for automated testing or production troubleshooting.

Do I need Node.js runtime flags to attach an interactive debugger to a background worker?

Yes, attaching an interactive debugger to a background worker requires access to Node.js runtime flags and process management permissions. This environment setup allows the debugger to interface with the V8 inspector and pause execution at specific lines.

What is the best way to inspect local variables in a misbehaving Node.js TUI component?

The best way to inspect local variables in a misbehaving Node.js TUI component is using the built-in V8 inspector. You can attach to the process, pause execution at a specific line, and evaluate the current state of local variables directly.

How does Chrome DevTools Protocol work with Node.js for automated testing?

Chrome DevTools Protocol (CDP) works with Node.js by programmatically controlling debugging sessions to capture state data from non-interactive processes. It interfaces directly with the V8 inspector to automate runtime analysis for testing.

Why use CDP-based analysis instead of standard logging for Node.js production troubleshooting?

Use CDP-based analysis instead of standard logging for Node.js production troubleshooting to gain deep visibility into complex runtime issues. CDP captures execution state, call stacks, and variable scopes that standard logging cannot reach.