A debugger for delphi in visual studio code, and also a MCP server to give claude/copilot/etc authonomous delphi debugging capabilities
Debug Delphi Win64 applications outside the Embarcadero IDE — a real debugger built on the Windows Debug API, written in Delphi.
The repository contains three programs that share one debugger engine:
What it is Where it lives --------- Debug adapter A Debug Adapter Protocol (DAP) server. This is the debugger itself: breakpoints, stepping, call stacks, variables, expression evaluation. Any DAP client can drive it. VisualStudioCodeDelphiDebugger\ VS Code extension The client that makes it usable in the editor: the delphi-win64 debug type, the process picker for attaching, status-bar progress, and an editor for the exception rules. install\local.delphi-win64-debug\ MCP server The same engine exposed to an AI agent over the Model Context Protocol — 33 tools (setbreakpoint, stepinto, getlocals, evaluateexpression, getcallstack, readmemory, …). It lets an agent run a program, stop it, and read its actual state instead of guessing from the source. MCPDebugger\
The engine is shared: DebuggerCore\ holds the Windows Debug API loop, the symbol readers (.rsm, TD32, .map, .dcp, JCL) and the expression evaluator. The three front ends are thin.
You will almost certainly also want the Delphi IDE plugin. It adds an Open in VS Code command to the Delphi IDE that generates the workspace and the launch configuration for the current project: output paths, source root, unit search paths, and the package list for a BPL project. A real Delphi project carries a couple of hundred search paths, and nobody wants to write that by hand. The debugger works without it if you write launch.json yourself
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/csm101--delphi-visual-studio-code-debugger.html)
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.