node-inspect-debugger

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

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

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 capture.

Core Features & Use Cases

  • Interactive Debugging: Utilize the built-in V8 inspector to set breakpoints, step through code, and inspect local variables in real-time.
  • Programmatic Automation: Use the Chrome DevTools Protocol (CDP) to automate debugging sessions, capture heap snapshots, or profile CPU usage without manual intervention.
  • Use Case: When a TUI component or background worker behaves unexpectedly, attach the debugger to inspect React/Ink state or closure variables to pinpoint the exact line of failure.

Quick Start

Use the node-inspect-debugger skill to attach to the running process with the specified process ID and set a breakpoint at the target file and line number.

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

You can debug a Node.js background worker by attaching the V8 inspector to the running process using its process ID, enabling you to set breakpoints and inspect local variables in real-time to resolve unexpected behavior.

What is the Chrome DevTools Protocol used for in Node.js debugging?

The Chrome DevTools Protocol in Node.js debugging is used to programmatically automate debugging sessions, capture heap snapshots, and profile CPU usage without manual intervention, providing deep visibility into execution state and call stacks.

Can I inspect closure variables in a running Node.js process?

Yes, you can inspect closure variables in a running Node.js process by attaching the debugger to the process, facilitating deep inspection of call stacks, local scopes, and heap memory to pinpoint the exact line of failure.

Does the node-inspect-debugger work with TUI components?

Yes, the node-inspect-debugger works with TUI components by attaching the V8 inspector to inspect React or Ink state and closure variables, helping you pinpoint exact failures when components behave unexpectedly.

Do I need access to the Node.js runtime to use the V8 inspector?

Yes, you need access to the Node.js runtime environment and the ability to signal processes for inspector attachment to utilize the V8 inspector and Chrome DevTools Protocol for interactive and programmatic debugging.

What is the best way to capture a heap snapshot in Node.js without manual intervention?

The best way to capture a heap snapshot without manual intervention is using the Chrome DevTools Protocol to programmatically automate the debugging session, facilitating deep inspection of heap memory and execution state.