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

2021-09-05

Xdebug 3.1.0beta1 is out!

This is the first beta 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.

There are also further improvements to Xdebug's diagnostic function xdebug_info, and the debugging protocol.

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.

Please be aware that this is a preview release, and although it is probably fine to use in day-to-day work, there can be some rough edges. If you find a bug, please file a report at Xdebug's Issue Tracker.

This release also contains contributions by: Aaron Piotrowski, Damjan Cvetko, and Martin Schröder — Thanks!