DebugssyLet your AI assistant drive the debugger. Connect Cursor, GitHub Copilot, or Claude Desktop to VS Code's debugging engine via MCP. Describe what's broken, let the AI poke around. Why This ExistsI got tired of the usual debugging loop: guess where the bug might be, set a breakpoint, step through, inspect, repeat. Meanwhile I'm already explaining the problem to an AI in chat. Why not let it do the clicking?
The goal: get from "something is off" to "here's the exact line" without you micromanaging every step. Setup (2 minutes)1. InstallSearch Debugssy in VS Code extensions ( Or: VS Code Marketplace · Open VSX 2. Connect Your AIAll clients connect to the same URL: GitHub Copilot —
One-click install, or
add to
Cursor —
One-click install,
or add to
Claude Desktop — Add to
Other MCP clients — Point them at 3. DebugStart a debug session (
Type What the AI GetsBreakpoints: Set, remove, toggle, list. Supports conditions
( Inspection: Read variables, evaluate expressions, walk the call stack, read console output. Execution control: Start/stop sessions, continue, step (if you enable it). By default, you control execution via VS Code and the AI just inspects. Two modes:
Copilot users: restart VS Code after switching modes. ExamplesCrash debugging:
Wrong value:
Infinite loop:
Recommended models: Claude 4.5 Haiku or Grok 4.1 Fast for speed. SettingsSearch "debugssy" in VS Code settings. The important ones:
Commands via Troubleshooting"No active debug session" — Press F5 first. The debugger needs to be running. Port in use — Set AI can't connect — Check Variables empty — Execution must be paused at a breakpoint. Copilot doesn't see tools — Restart VS Code after changing settings. Full docs: github.com/gmaynez/debugssy SecurityRuns on localhost only. Your code never leaves your machine. Expression validation blocks obvious injection attempts. Origin validation prevents DNS rebinding. Follows MCP security best practices. RequirementsVS Code 1.101.0+ and an MCP-compatible AI (Cursor, Copilot, Claude Desktop, etc.) MoreGitHub · Security docs · MCP spec Apache 2.0 · © 2025 Guillermo Garcia Maynez |