Debugger and Profiler Tool for PHP
If you find Xdebug useful, please consider supporting the project.
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 PHPUnit.
Xdebug Cloud is a Proxy-as-a-Service, which can help you with complexities with regards to networking. A common use case is having multiple developers, who share a common development server on private network, while working in a remote location.
This site and all of its contents are Copyright © 2002-2026 by Derick Rethans.
All rights reserved.