node-inspect-debugger

Attach to Node.js processes via V8 inspector and CDP for debugging.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Node.js applications often require deep runtime inspection; this skill provides a programmable way to attach to Node processes using the built-in inspector and CDP, enabling breakpoints, step execution, and state introspection without invasive code changes.

Core Features & Use Cases

  • Attach to a running Node.js process or spawn with --inspect/--inspect-brk to pause at entry.
  • Use node inspect CLI or chrome-remote-interface CDP client to set breakpoints, inspect scope, evaluate expressions, and resume execution.
  • Works with both quick ad-hoc debugging and automated debugging scripts to reproduce issues in development and CI.

Quick Start

Start debugging by launching your Node.js script with the inspector or attaching to a running process and connect with the inspector tools.

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 built-in inspector and Chrome DevTools Protocol?

Debug Node.js applications by attaching to a running process or spawning with --inspect, then use node inspect or chrome-remote-interface CDP clients to set breakpoints, inspect scope, and evaluate expressions.

Can I pause execution at startup for a Node.js script before connecting a debugger?

Yes, spawn your Node.js script with the --inspect-brk flag to pause execution at entry, allowing the debugger to attach before the first line runs.

How does setting breakpoints and inspecting scoped state work with node inspect?

The node inspect CLI attaches to the V8 inspector, enabling you to set breakpoints, step through code, evaluate live expressions, and inspect scoped state for diagnostic workflows.

Does this debugging approach work for automated scripts in CI environments?

Yes, this supports automated debugging scripts using the chrome-remote-interface CDP client to programmatically reproduce issues and inspect state in development and CI pipelines.

What is the best way to evaluate expressions and inspect state without modifying Node.js code?

Attach to the Node process using the built-in V8 inspector to enable live evaluation and scoped state introspection without invasive code changes.

Can I use chrome-remote-interface to attach to a running Node.js server process?

Yes, the chrome-remote-interface CDP client can attach to a running Node.js server, tooling, or UI gateway process to programmatically debug and inspect runtime state.