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

2023-11-30

Xdebug 3.3.0 is out!

This new release introduces support for PHP 8.3, flame graphs, and control sockets.

With flame graphs you can visualize hierarchical data, created to visualize stack traces of profiled software so that the most frequent code-paths to be identified quickly and accurately. You can read more about it in an article, or see it in action through a YouTube video.

The debugger sees significant performance improvements in relation to breakpoints. It can now also show the contents of ArrayIterator, SplDoublyLinkedList, SplPriorityQueue objects, and information about thrown exceptions. There are also improvements with stepping in and around Fibers.

The xdebug_get_function_stack function also received an update. With an argument you can now include information about local variables, or obtain the stack trace when an exception was thrown.

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 contributions by: Cédric Anne, Codinghuang, Damjan Cvetko, Jeremy Mikola, Niels Keurentjes, Pierre Rineau, Remi Collet, and Sebastian Bergmann — Thanks!