Xdebug is an extension for PHP, and provides a range of features to improve the PHP development experience.
- Step Debugging
- A way to step through your code in your IDE or editor while the script is executing.
- Improvements to PHP's error reporting
- An improved
var_dump()
function, stack traces for Notices, Warnings, Errors and Exceptions to highlight the code path to the error - Tracing
- Writes every function call, with arguments and invocation location to disk. Optionally also includes every variable assignment and return value for each function.
- Profiling
- Allows you, with the help of visualisation tools, to analyse the performance of your PHP application and find bottlenecks.
- Code Coverage Analysis
- To show which parts of your code base are executed when running unit tests with PHP Unit.
Announcements
- 2022-07-25 - Xdebug 3.2.0alpha2 is out!
- 2022-07-20 - Xdebug 3.2.0alpha1 is out!
- 2022-06-06 - Xdebug 3.1.5 is out!
- 2022-04-04 - Xdebug 3.1.4 is out!
- 2022-02-01 - Xdebug 3.1.3 is out!
Xdebug is made possible through the generous support of Xdebug's business-tier sponsors:
- TYPO3 GmbH
- Tideways
- Real Estate Learning Center
- Find My Electric
- Xdebug Cloud
- Seiden Group
- Offers.com
- Private Packagist
- VEMA eG
- iO
- Supermetrics
You can also be listed as a supporter by signing up for a Business package.