koriymkoriymCommunityยท1 Agent Skills Included

xdebug-mcp

PHP debugging, profiling, tracing, and coverage analysis

Debugs PHP applications with breakpoints, step tracing, performance profiling, and code coverage reports. Eliminates var_dump guessing, manual log digging, and slow trial-and-error bug hunting. Returns structured JSON output so results are easy to verify, compare, and analyze. Works with any PHP codebase, Docker containers, and legacy PHP versions without code changes.
npx skills add koriym/xdebug-mcp --all -g -y
Available:

Explains to the AI agent how the debugging server works, which tools to call for tracing, profiling, and coverage, and how to manage isolated Xdebug sessions without conflicting with IDEs.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install xdebug-mcp?โ–ผ

Run `npx skills add koriym/xdebug-mcp --all -g -y` in your terminal to install all tools in this suite globally.

How to debug PHP without var_dump?โ–ผ

Use the xstep or xtrace commands to capture variable values and execution flow at any line, returned as clean JSON without modifying your code.

How to find PHP performance bottlenecks?โ–ผ

Run xprofile on your script to get precise timing and memory data, with bottlenecks listed in a structured JSON report.

Does xdebug-mcp work with Claude Code and Codex?โ–ผ

Yes. It works through a Skill for coding agents with shell access, or as an MCP server for clients like Claude Desktop.

Can it debug Docker or legacy PHP code?โ–ผ

Yes. All tools support Docker, Podman, and Kubectl, and can debug older PHP versions like 7.x as long as a compatible Xdebug 3.x is installed.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’