Closed rfay closed 1 month ago
I understand why this was done. But is there a way that we can easily opt-in to the latest version of Xdebug? I just moved to DDEV and am missing the new flame graph profiling.
You already have the new version if you select PHP 8.3 in DDEV (Xdebug 3.3 is only one available). So ddev config --php-version=8.3
and you have it.
You can also just install the new version for any other currently supported PHP version, put this in your .ddev/config.yaml:
webimage_extra_packages: ['php${DDEV_PHP_VERSION}-xdebug']
Test with ddev restart && ddev xdebug on && ddev php --version
Finally, you may want to try out the impressive xhgui/xhprof profiling found in https://github.com/ddev/ddev-xhgui
Thank you very much! That makes sense - I'm just getting my bearings with ddev, so didn't know which knobs to reach for.
php-xdebug package has not been fully reliable in it's 3.3.x versions, with some users encountering crashs/coredumps.
We could downgrade to 3.2.x by using pecl
Latest email from xdebug project acknowledges these problems
Actual Behavior
x
Steps To Reproduce
No response
Anything else?
No response