If you find Xdebug useful, please consider supporting the project.


Xdebug 3.1.0 is out!

This is the first release of Xdebug 3.1. This release adds support for PHP 8.1, as well as a set of new features. These new features include: file compression for trace and profiling files, the new xdebug_notify() and xdebug_connect_to_client() functions, an API through xdebug_info() to request which modes are enabled, and the possibility to set the Xdebug Cloud ID through Xdebug's triggers, including browser extensions.

The full list of changes 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.

If you find a bug, please file a report at Xdebug's Issue Tracker.

This release also contains a contribution by: Aaron Piotrowski, Christoph M. Becker, Martin Schröder, Patrick Allaert, and Yang Xikun — Thanks!