node.js debugger.com
node.js debugger.com logo

Node.js Debugger

Connects Claude Code to Node.js's Inspector Protocol for real-time debugging capabilities, enabling breakpoint setting,...

Created byApr 22, 2025

MCP Node.js Debugger

An MCP server that gives Cursor or Claude Code access to Node.js at runtime to help you debug: `@hyperdrive-eng/mcp-nodejs-debugger`.

Demo

Cursor

Claude Code

Quick start

Cursor

  1. Add to Cursor (~/.cursor/mcp.json) image
  1. Run a Node.js server in debug mode (i.e. with the --inspect flat)
  1. Ask Cursor to debug your Node.js server at runtime image

Claude Code

  1. Add to Claude Code
  1. Start Claude Code
  1. Run a Node.js server in debug mode (i.e. with the --inspect flat)
  1. Ask Claude Code to debug your Node.js server at runtime

Usage

Claude Code

  1. Add to Claude Code
  1. Verify connection
  1. Remove from Claude Code

Cursor

  1. Add to Cursor (~/.cursor/mcp.json)
  1. Verify connection: image
  1. Remove from Cursor (~/.cursor/mcp.json):

Example

Cursor

  1. Run this simple Node.js app: github.com/mdn/express-locallibrary-tutorial:
  1. Ask Cursor to set a breakpoint image image
  1. Create a book at `localhost:3000/catalog/book/create` image
  1. Watch Cursor capture runtime state image

Claude Code

  1. Here is a buggy Node.js server:
  1. Claude Code debugs the Node.js server at runtime:

MCP Node.js Debugger

An MCP server that gives Cursor or Claude Code access to Node.js at runtime to help you debug: `@hyperdrive-eng/mcp-nodejs-debugger`.

Demo

Cursor

Claude Code

Quick start

Cursor

  1. Add to Cursor (~/.cursor/mcp.json) image
  1. Run a Node.js server in debug mode (i.e. with the --inspect flat)
  1. Ask Cursor to debug your Node.js server at runtime image

Claude Code

  1. Add to Claude Code
  1. Start Claude Code
  1. Run a Node.js server in debug mode (i.e. with the --inspect flat)
  1. Ask Claude Code to debug your Node.js server at runtime

Usage

Claude Code

  1. Add to Claude Code
  1. Verify connection
  1. Remove from Claude Code

Cursor

  1. Add to Cursor (~/.cursor/mcp.json)
  1. Verify connection: image
  1. Remove from Cursor (~/.cursor/mcp.json):

Example

Cursor

  1. Run this simple Node.js app: github.com/mdn/express-locallibrary-tutorial:
  1. Ask Cursor to set a breakpoint image image
  1. Create a book at `localhost:3000/catalog/book/create` image
  1. Watch Cursor capture runtime state image

Claude Code

  1. Here is a buggy Node.js server:
  1. Claude Code debugs the Node.js server at runtime: