Debugger and profiler tool for PHP
open sourceXdebug-1.03free
Xdebug is an extension for PHP that improves the development experience. Its step debugger lets you step through code from your IDE or editor while a script runs (VS Code, PhpStorm and others connect to it over the DBGp protocol). It also improves PHP's error reporting (a better var_dump() and stack traces for notices, warnings, errors and exceptions), traces every function call with its arguments to disk, profiles applications for visualisation tools to find bottlenecks, and gathers code coverage for PHPUnit. Created and maintained by Derick Rethans and funded by sponsors; Xdebug Cloud, a paid proxy service, helps remote developers reach a shared development server. Released under the Xdebug License 1.03, based on the PHP License 3.0.
Problems it solves
- step through my PHP code with breakpoints in VS Code
- find out why my PHP application is slow
- get code coverage for my PHPUnit tests
- see a full stack trace for PHP warnings and errors
Features
- step debugging from an IDE or editor
- improved var_dump() and stack traces for errors
- function call tracing to disk
- profiling for performance analysis
- code coverage for PHPUnit
Alternatives
The same job
These do what Xdebug does.
- Debugger for Java Microsoft's Java debugger for VS Code
- CodeLLDB A VS Code debugger for native code, powered by LLDB
- Python Debugger Python debugging with debugpy for Visual Studio Code