Xdebug Update: October 2021

  • You are here: Free PHP » Uncategorized » Xdebug Update: October 2021

Xdebug Update: October 2021

In this monthly update I explain what happened with Xdebug development in this past month. These will be published on the first Tuesday after the 5th of each month.

Patreon and GitHub supporters will get it earlier, around the first of each month.

You can become a patron or support me through GitHub Sponsors. I am currently 58% towards my $2,000 per month goal. If you are leading a team or company, then it is also possible to support Xdebug through a subscription.

In October, I worked on Xdebug for about 30 hours, with funding being around 25 hours. Please become a supporter of Xdebug through Patreon or GitHub.

Xdebug 3.1

Xdebug 3.1.0 and 3.1.1 have now been released!

Xdebug 3.1 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 on the Xdebug website.

Unfortunately Xdebug 3.1.0 introduced some bugs in the thread-safe version, which is most notably used on Windows. After some back and forth with Christoph Becker, the PHP on Windows maintainer, we managed to track down the problem and fix it. This resulted with some other fixes in the Xdebug 3.1.1 release.

Since then, users found a few more minor issues which will result in 3.1.2, to be released early in November.

Xdebug Videos

I have published one new video on how to use Xdebug on my YouTube channel.

This video is of a series to explain how to use Xdebug and the new features introduced in Xdebug 3.1:

I will continue to create more videos, and also convert some of them to tutorials.

If you would like to suggest a topic for a 5 to 15 minute long video, feel free to request them through this Google Form.

Powered by Gewgley