You're visiting the archived website and documentation of Xdebug 2, which is no longer supported. This website is temporarily available and will be discontinued on Dec 31st, 2021.
If you find Xdebug useful, please consider supporting the project.


Xdebug 2.4.0 is out!

This new release brings support for PHP 7, and a few new features. The new function monitoring allows you to define a list of functions with xdebug_start_function_monitor(), and then every time that function is used, it's calling location is recorded. And the new xdebug.show_error_trace setting allows you to show a stack trace for every Error (throwable).

The full change log can be found on the updates page. The source code can be found on the downloads page, and as usual, Xdebug is installable through PECL.