node-inspect-debugger

Debug Node.js applications via Chrome DevTools Protocol with breakpoints and stepping.

7|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/kzinmr/ai-topics --skill node-inspect-debugger-kzinmr
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/kzinmr/ai-topics/tree/main/config/hermes/skills/_overrides/node-inspect-debugger
Command: npx skills add https://github.com/kzinmr/ai-topics --skill node-inspect-debugger-kzinmr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires chrome-remote-interface, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a straightforward way to debug Node.js applications using the Chrome DevTools Protocol (CDP) via the node inspect command and chrome-remote-interface library.

Core Features & Use Cases

  • Node.js Debugging: Offers both node inspect and chrome-remote-interface for debugging Node.js applications.
  • Breakpoints and Stepping: Set breakpoints and step through code to inspect the application's state.
  • Use Case: If you encounter a bug in a Node.js application, this Skill allows you to pause execution, inspect variables, and step through the code to identify the issue.

Quick Start

Launch the debugger and set a breakpoint at line 42 of 'app.js':

node inspect app.js
sb('app.js', 42)
cont

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 Chrome DevTools Protocol?▼

You can debug Node.js applications using the Chrome DevTools Protocol by utilizing the `node inspect` command alongside the `chrome-remote-interface` library to pause execution and inspect variables.

What is the best way to set breakpoints and step through Node.js code?▼

The best way to set breakpoints and step through Node.js code is using the `node inspect` command, which allows you to pause execution, inspect application state, and analyze complex logic.

Can I use chrome-remote-interface to inspect variables in a Node.js app?▼

Yes, you can use `chrome-remote-interface` to automate remote debugging and inspect variables in a Node.js app by connecting to the Chrome DevTools Protocol.

When do I need to use the node inspect command for debugging?▼

You need to use the `node inspect` command when you encounter a bug in a Node.js application and want to pause execution to inspect variables and step through code to identify the issue.

Does this Node.js debugging approach work for complex logic and performance issues?▼

Yes, this debugging approach works for complex logic and performance issues, providing detailed code inspection and state analysis via the Chrome DevTools Protocol.

How do I launch the debugger and set a breakpoint at a specific line in Node.js?▼

To launch the debugger and set a breakpoint, run `node inspect app.js`, then use `sb('app.js', 42)` to set a breakpoint at line 42, and `cont` to continue execution.