Replace Xdebug with php_debugger

Configuration Time Overhead
No debugger 0.139s
PHP Debugger 0.145s +4%
Xdebug 0.589s +324%

More at GitHub - pronskiy/php-debugger: Lightweight PHP debugger extension (forked from Xdebug, stripped to debug-only and optimized) · GitHub

Meanwhile, you can use this guide to add it yourself: How to install redis (and other extensions) on macOS

php-debugger is an interesting project – how did you first hear about it?

I wonder if we’ll be seeing additional AI rewrites for the other features of Xdebug (code coverage, profiling, tracing).

Learned about php_debugger at https://x.com/brendt_gd/status/2032748502472679874