node-inspect-debugger

Attach to Node.js processes via CDP for breakpoints and stepping.

150|25|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Devsoul2026/Hermes-One-Click --skill node-inspect-debugger-devsoul2026
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/Devsoul2026/Hermes-One-Click/tree/main/hermes-agent/skills/software-development/node-inspect-debugger
Command: npx skills add https://github.com/Devsoul2026/Hermes-One-Click --skill node-inspect-debugger-devsoul2026

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Connects to Node.js processes via the built-in inspector and Chrome DevTools Protocol to enable real-time debugging, breakpoints, and state exploration in both interactive and scripted contexts.

Core Features & Use Cases

  • Interactive debugging of Node scripts and tests using the native inspector and CDP.
  • Attaching to running Hermes UI processes for live inspection and troubleshooting.
  • Programmatic control of debugging tasks via CDP for automation and integration into agent loops.

Quick Start

Start a Node process with --inspect-brk and attach the debugger to begin stepping through code.

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 script using the built-in inspector and CDP?

Debug a Node.js script by starting the process with the --inspect-brk flag and attaching the debugger to enable real-time breakpoints, stepping, and state inspection via the Chrome DevTools Protocol.

Can I attach a debugger to a running Hermes UI process for live inspection?

Yes, you can attach to running Hermes UI processes for live inspection and troubleshooting. The debugger connects to the active process to enable interactive state exploration and real-time issue resolution.

Does Node.js CDP debugging support programmatic control for automation loops?

Node.js CDP debugging supports programmatic control for automation and integration into agent loops. Optional CDP libraries enable scripted management of debugging tasks without interactive TUI intervention.

What is the best way to automate Node.js troubleshooting tasks via the inspector?

Automate Node.js troubleshooting by programmatically attaching to the built-in inspector using CDP libraries. This enables scripted control of breakpoints and state extraction for integration into automated testing or agent loops.

Do I need specific dependencies to use Chrome DevTools Protocol for Node.js debugging?

You need a Node.js version with built-in inspector support to enable CDP debugging. Optional CDP libraries are required if you want to programmatically control debugging tasks rather than using an interactive TUI.

Why are my breakpoints not hitting when I attach to a Node.js process?

Breakpoints may not hit if the Node.js process is not started with the --inspect-brk flag. Ensure the built-in inspector is active and the debugger is correctly attached via CDP before executing the target script.