Let AI agents debug code through VS Code in real sessions.
Copy the install command and let the AI configure it · recommended for beginners
No copy-paste install info for "VSCode Debug MCP" yet — see the docs or source repo.
Use VSCode Debug MCP to connect to the current debug session, set a breakpoint where the exception is thrown, step through execution, and report the key variable values and call path before the error occurs.
Returns the exception location, execution path, and relevant variable values with context before the failure.
Set a breakpoint at the entry of processOrder, run until it hits, then read local variables and key object fields, and summarize which values look abnormal.
Outputs the breakpoint hit result, a variable snapshot, and analysis of potentially abnormal data points.
Use VSCode Debug MCP to step from the current breakpoint, trace the actual if/else branch taken, and explain why execution entered that branch.
Provides the branch execution flow, condition evaluation results, and an explanation of why that branch was taken.
Developers can let an AI agent set breakpoints, step through code, and read exception details during local debugging. This helps pinpoint runtime issues faster than static code reading alone.
When program behavior differs from expectations, users can have AI inspect variable values and call flow during debugging. It is useful for analyzing branching logic, state changes, and contextual data.
When an exception occurs, the AI agent can read exception details and combine them with step-by-step execution to reconstruct the failure path. This is useful for quickly explaining runtime state before and after the error.
It exposes VS Code's Debug Adapter Protocol as MCP tools. This allows AI coding agents to set breakpoints, step through code, inspect variables, and read exception details in a real debug session.
Based on the description, it depends on VS Code's debugging capabilities and a real debug session. For more specific runtime or configuration requirements, see the source repository.
Its key difference is that it lets AI operate a real debug session instead of only analyzing code statically. That provides runtime information such as breakpoint hits, variable values, step flow, and exceptions.
Let AI agents control the VS Code debugger across supported languages.
Give your VS Code agent real debugging with breakpoints, stepping, and inspection.
Connect VSCode to MCP so AI can inspect code context in real time.
Let AI control GDB via MCP for breakpoints, stepping, and inspection.
Debug Node.js programs via V8 Inspector with breakpoints and variable inspection.
Interactively debug code in many languages through MCP and VS Code.