xdebug for Gemini CLI
io.github.kpanuragh/xdebug
MCP server for PHP Xdebug debugging with breakpoints, stepping, and variable inspection
client:Gemini CLI
transport:stdio
runtime:npm
Install xdebug in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"xdebug": {
"command": "npx",
"args": [
"-y",
"xdebug-mcp"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs