node-inspect-debugger

Drive Node.js debugging sessions via Chrome DevTools Protocol.

2|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/john-data-chen/hermes-agent-backup --skill node-inspect-debugger-john-data-chen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/john-data-chen/hermes-agent-backup/tree/main/skills/software-development/node-inspect-debugger
Command: npx skills add https://github.com/john-data-chen/hermes-agent-backup --skill node-inspect-debugger-john-data-chen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When console.log isn't enough, debug Node.js by using the built-in inspector and Chrome DevTools Protocol to set breakpoints, inspect state, and evaluate expressions from the terminal or scripted workflows.

Core Features & Use Cases

  • Node inspect: built-in, zero install, CLI REPL for quick debugging.
  • CDP scripting: automate breakpoints and state capture via chrome-remote-interface for reproducible debugging.
  • Attach to running processes: enable the inspector on existing Node processes and connect with external tools.
  • Hermes ui-tui debugging: inspect UI state and component data during terminal UI sessions.
  • End-to-end debugging with tests: run tests under the debugger to diagnose failures and performance issues.

Quick Start

Start a debugging session by launching your Node script with --inspect-brk and then attach with node inspect.

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 Node.js when console.log isn't enough?

Debug Node.js by using the built-in inspector and Chrome DevTools Protocol to set breakpoints, inspect state, and evaluate expressions from the terminal or scripted workflows.

How do I automate breakpoint setting and state capture in Node.js?

Automate breakpoint setting and state capture in Node.js by using CDP scripting via chrome-remote-interface, enabling reproducible debugging across runs.

Can I attach a debugger to an already running Node.js process?

Yes, you can attach to running Node.js processes by enabling the inspector on existing processes and connecting with external tools like node inspect.

What is the best way to inspect UI state during terminal UI sessions built with Ink?

Debug terminal UI state by using the inspector to inspect UI state and component data during terminal UI sessions built with Ink components.

Do I need to install extra packages to use the node inspect CLI REPL?

No, node inspect is a built-in, zero-install CLI REPL tool provided natively by Node.js for quick debugging sessions from the terminal.

How do I use the Node.js debugger to diagnose test failures and performance issues?

Run end-to-end debugging with tests by executing tests under the Node.js debugger to diagnose failures and performance issues deterministically.