node-inspect-debugger

Debug Node.js applications via the built-in inspector and Chrome DevTools Protocol.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Node.js debugging can be cumbersome when relying on console.log. This Skill enables a terminal-based workflow to attach to a running Node.js process using the built-in inspector and CDP, enabling real breakpoints, call stacks, and state inspection.

Core Features & Use Cases

  • Attach to a running Node.js process via --inspect and connect with node inspect or CDP clients.
  • Inspect variables, walk the call stack, and evaluate expressions in paused contexts.
  • Use programmatic CDP tooling to automate debugging tasks across multiple processes.

Quick Start

Attach the inspector to a running Node.js process and begin interactive debugging.

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 from the terminal?▼

Debug a running Node.js process by starting it with the --inspect flag to expose the built-in inspector, then connect using the node inspect tool or a CDP client to attach and pause execution.

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

The Chrome DevTools Protocol (CDP) is used to programmatically automate Node.js debugging tasks, enabling multi-process scenarios, expression evaluation, and state inspection via terminal-based clients.

Can I set real breakpoints and inspect variables without using console.log in Node.js?▼

Yes, you can set real breakpoints, inspect variables, and walk the call stack by attaching the built-in inspector to a running Node.js process and connecting via the node inspect tool.

How do I evaluate expressions in a paused Node.js debugging context?▼

Evaluate expressions in a paused Node.js context by attaching to the process via the inspector, pausing execution at a breakpoint, and using CDP tooling or the node inspect interface to run expressions.

Does Node.js debugging with the inspector support multi-process scenarios?▼

Yes, multi-process scenarios are supported by leveraging programmatic CDP tooling to automate debugging tasks across multiple running Node.js processes from the terminal.

Do I need additional dependencies to use the node inspect tool for debugging?▼

No additional dependencies are required for basic terminal debugging beyond Node.js and its built-in node inspect tool, though optional CDP libraries are needed for programmatic automation.