Xdebug Update: January 2020
Another month, another monthly update where I explain what happened with Xdebug development in this past month. It will be published on the first Tuesday after the 5th of each month. Patreon supporters will get it earlier, on the first of each month. You can become a patron here to support my work on Xdebug. If you are leading a team or company, then it is also possible to support Xdebug through a subscription.
In January, I worked on Xdebug for just over 90 hours, on the following things:
Xdebug 2.9.1 and Xdebug 2.9.2
This month brought two releases. The Xdebug 2.9.1 release restores step debugging performance as it was in Xdebug 2.7.2, while still maintaining the resolved breakpoint feature. Beyond improved performance for debugging, it also addresses a whole range of smaller issues.
The 2.9.2 release is a normal bug fix release, which addresses three relatively minor issue.
With the latest 2.9.2 I also updated the Xdebug web site to have a latest release download page and a historical release download page. On top of that, the code behind the web site no longer computers SHA256 checksums of the download files, but instead they are now committed to GIT. The separation makes the general download page much leaner, which allows me to put other related downloads on that same page too. Which brings me to the next topic.
debugclient and DBGp Proxy
I have continued working on a command line debugging client in Go, and am making more progress for a DBGp proxy implementation as well. The proxy currently knows how to register IDEs with their IDE key, and can accept connections from debugging engines. It does not yet know how to route these incoming connections to IDEs yet.
However, I have released the command line debugging client "debugclient" for Linux, macOS and Windows. You can find downloads on the restructured downloads page. At the moment the debugging client is not yet Open Source, but I am intending to do that once I've cleaned things up and know Go well enough to not be embarrassed by it.
I have written some basic documentation for the debugclient. More extensive, but harder to read, documentation is available in the description of the DBGp protocol. You can find a "teaser GIF" below:
Business Supporter Scheme and Funding
I have moved the supporters in the Business Supporter Scheme to a more prominent place, right on the front page of https://xdebug.org
In January, no new supporters signed up.
If you, or your company, would also like to support Xdebug, head over to the support page!
Besides business support, I also maintain a Patreon page and a profile on GitHub sponsors.
Podcast
The PHP Internals News has returned with the second season. In this weekly podcast, I discuss in 15-30 minutes, proposed new features to the PHP language with fellow PHP internals developers. It is available on Spotify and iTunes, and through an RSS Feed. In the first episode I spoke with Nikita Popov about Preloading and WeakMaps.
Comments
It would be useful to start working on Xdebug on Swoole. I know it appears to be huge amount of work.
Also, could it be possible to provide "break on property access" feature?
@Nadir: I am having a look at Swoole. I spoke with some of their authors in the last few weeks, and I think we can come up with a plan here. This isn't all the way at the top of my list to work on, but it is on the list.
As for other feature requests, please file those at https://bugs.xdebug.org — although I don't think it would be easy to implement the "break on property access" feature, if possible at all.
Hi,
good news, even if the main issue with swoole is the memory management (of PHP), this will ease the adoption of that beast.
About the "break on property access" feature, I know there exist a hacky workaround using a generic __set and a private prop, Requires to rewrite code, maybe it could give ideas:
php - Break on property change in Xdebug - Stack Overflow: https://stackoverflow.com/questions/14900850/break-on-property-change-in-xdebug
Life Line
Updated a pub
Updated 2 house buildings
Updated 2 estate_agent offices
I walked 8.2km in 1h37m13s
I'm excited about the PHP UK Conference on Friday!
I am speaking on @Xdebug, but the whole programme looks great:
https://www.phpconference.co.uk/scheduleTickets are still available, and you'll get 10% off with the code "PHPUK26".
Will I see you there?
RE: https://en.osm.town/@richardf/116086276801420468
For the UK #trains fans under us.
Missed a building outline
Added the Old Dairy House and Aston Mews buildings
More accurate Canterbury Road mapping
I walked 7.0km in 1h37m07s
I walked 8.4km in 1h21m36s
Put new open stretch of Canterbury Road on map
Created a bench and a crossing
Created 2 benches and a crossing; Updated 5 cushions, a post_box, and a crossing
Created a crossing; Updated a cushion
I walked 9.9km in 1h46m54s
If you were wondering whether the www.php.net & downloads.php.net services weren't responding very well in the last 6 hours — thousands of requests/sec to https://www.php.net/ 's root.
The server's load was 720, didn't die, but CDN connections to it timed out.
Now there is a caching strategy in place for a selected set of resources.
Updated a bench
Created 3 benches; Updated 10 benches
Updated a bench
Updated a bus_stop
Created a bench and a waste_basket; Updated 6 bus_stops and a crossing
Created 2 waste_baskets and a recycling; Updated 2 bicycle_parkings and a recycling
Updated a fast_food, a funeral_directors shop, and 2 other objects; Confirmed a fast_food and a hairdresser shop
Created an information; Updated 3 benches and 2 waste_baskets


Shortlink
This article has a short URL available: https://drck.me/xdebug-20jan-fhk