node-inspect-debugger

Debug Node.js applications via the Chrome DevTools Protocol.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Debug Node.js applications by using the built-in inspector and Chrome DevTools Protocol to pause, inspect variables, and control execution flow.

Core Features & Use Cases

  • Interactive debugging with node inspect for quick exploration and a REPL.
  • CDP scripting using chrome-remote-interface to automate breakpoints, scope inspection, and expression evaluation.
  • Attach to running processes by enabling the inspector (e.g., via --inspect or --inspect-brk) and connect from external tools.
  • Profiling & diagnostics: capture CPU profiles and heap snapshots for performance analysis and memory leaks.
  • Use Case: Reproduce a flaky test by pausing at a breakpoint, inspecting state across modules, and stepping through code.

Quick Start

Launch a Node.js script with inspection enabled and attach a debugger using node inspect or chrome-remote-interface.

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 with the built-in inspector?

Debug Node.js applications by launching scripts with --inspect or --inspect-brk to enable the built-in inspector, then attach using node inspect for an interactive REPL or connect external tools via the Chrome DevTools Protocol (CDP) to pause execution and inspect variables.

Can I automate breakpoints and scope inspection in Node.js using CDP?

Yes, automate breakpoints, scope inspection, and expression evaluation in Node.js by writing CDP scripts with the chrome-remote-interface library, allowing you to programmatically control execution flow without manual IDE intervention.

How do I capture CPU profiles and heap snapshots for Node.js performance analysis?

Capture CPU profiles and heap snapshots for Node.js performance analysis and memory leak detection by attaching to a running process via the Chrome DevTools Protocol, enabling you to record and inspect runtime diagnostics programmatically.

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

Attach a debugger to a running Node.js process by enabling the inspector on the target process using --inspect or --inspect-brk flags, then connect from external tools or a CDP client like chrome-remote-interface to pause and inspect execution.

What is the best way to reproduce a flaky test by inspecting state across modules?

Reproduce a flaky test by pausing execution at a breakpoint with the Node.js inspector, inspecting state across modules, and stepping through code interactively via node inspect or automated CDP scripting to identify the root cause.

Does node inspect support automated workflows for Hermes UI components?

Yes, node inspect and CDP tooling support automated workflows for Hermes UI components by leveraging the Chrome DevTools Protocol to profile performance and debug execution across local development and testing environments.