Skip to content
Claude Code

xdebug for Claude Code

io.github.kpanuragh/xdebug

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

client:Claude Code transport:stdio runtime:npm

Install xdebug in Claude Code

run in your project directory

claude mcp add xdebug -- npx -y xdebug-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

xdebug in other clients