Skip to content
Zed

xdebug for Zed

io.github.kpanuragh/xdebug

MCP server for PHP Xdebug debugging with breakpoints, stepping, and variable inspection

client:Zed transport:stdio runtime:npm

Install xdebug in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

{
  "context_servers": {
    "xdebug": {
      "command": "npx",
      "args": [
        "-y",
        "xdebug-mcp"
      ]
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

xdebug in other clients