node-inspect-debugger

Debug Node.js processes with built-in inspect and Chrome DevTools Protocol.

Updated May 23, 2026
One-click install
npx skills add https://github.com/zengbaocheng/hermes-tech-hub --skill node-inspect-debugger-zengbaocheng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/zengbaocheng/hermes-tech-hub/tree/main/software-development/node-inspect-debugger
Command: npx skills add https://github.com/zengbaocheng/hermes-tech-hub --skill node-inspect-debugger-zengbaocheng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables breakpoint-driven debugging of Node.js processes using the built-in inspector and Chrome DevTools Protocol.

Core Features & Use Cases

  • Built-in: use node inspect for immediate debugging without additional installs.
  • CDP scripting: drive Chrome DevTools Protocol from scripts for automated debugging across runs.
  • Attach to running processes: pause and inspect state with SIGUSR1 and node inspect.
  • TUI debugging: inspect UI components in Hermes-based interfaces via the TUI debug commands.

Quick Start

Attach to a running process with the inspector or launch a script with --inspect-brk to pause on the first line.

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 process in the terminal using built-in inspect?

Debug Node.js processes directly in the terminal by launching scripts with --inspect-brk or using node inspect to pause execution, set breakpoints, and evaluate expressions without additional installs.

How do I attach node inspect to a running Node.js process?

Attach node inspect to a running Node.js process by sending the SIGUSR1 signal to activate the inspector, then connect with the node inspect tool to pause and inspect the current state.

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

The Chrome DevTools Protocol (CDP) enables script-driven, automated debugging of Node.js processes by driving the inspector programmatically, often using the optional chrome-remote-interface package across multiple runs.

Can I debug Hermes UI components with node inspect?

Yes, you can inspect Hermes-based UI components using the built-in TUI debug commands provided by node inspect to pause execution and evaluate state during development workflows.

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

No, node inspect is built into the Node.js runtime, allowing immediate breakpoint-driven debugging without additional installs, though the optional chrome-remote-interface package is needed for CDP scripting.

How do I pause Node.js execution on the first line for debugging?

Pause Node.js execution on the first line by launching your script with the --inspect-brk flag, which immediately breaks before any code runs and connects to the node inspect terminal interface.