
DebugMCP v1.1.4 lets AI coding agents (Copilot, Cline, Cursor…) set breakpoints, step through code, and inspect variables in VS Code via the Model Context Protocol — no more guessing from logs.
start_debugging, add_breakpoint, step_over, step_into, step_out, continue_execution, get_variables_values, evaluate_expression, and more. 1localhost:3001. No code, variable values, or debug data leaves the machine. 2
code --install-extension ozzafar.debugmcpextensionDebugMCP: Show Agent Selection Popup to trigger it manually. 2settings.json:{
"mcp": {
"servers": {
"debugmcp": {
"type": "http",
"url": "http://localhost:3001/mcp",
"description": "DebugMCP - Multi-language debugging support"
}
}
}
}step_over and get_variables_values call will pause to ask for confirmation, breaking the flow of a multi-step debugging session. 2launch.json is required. DebugMCP auto-generates a debug configuration from the file extension of the file you ask the AI to debug.2 when it should return 2.5:# calculator.py
def divide(a, b):
result = 0
result = a // b # Bug: integer division instead of float
return result
print(divide(5, 2)) # Expected: 2.5 | Actual: 2calculator.py — set a breakpoint at the division line and inspect why divide(5, 2) returns 2 instead of 2.5."start_debugging(fileFullPath: "/path/to/calculator.py") — launches a Python debug session via debugpyadd_breakpoint(lineContent: "result = a // b") — sets the breakpoint by matching the line text 1continue_execution() — runs the program until the breakpoint is hitget_variables_values(scope: "local") — reads the local scope: a=5, b=2, result=0evaluate_expression(expression: "a / b") — evaluates true float division: returns 2.5// performs integer division; change it to / to get the float result."
ms-python.python) — DebugMCP uses VS Code's built-in debugpy adapter, so no separate debugger setup is needed.step_into silently degrades to step_over (Issue #71, opened May 10, 2026): after any step-triggered pause, calling step_into on a method call behaves identically to step_over. The failure is silent — no error, no warning. 3 Workaround: call get_stack_trace between every step..exe target and ignores the program field in an existing launch.json. Manual F5 still works. 4code --install-extension ozzafar.debugmcpextensionmarketplace.visualstudio.com
github.com
github.com
github.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.