Migrate from xdebug to xdebug3

xdebug3 deprecates lots of configuration parameters for debugging php apps. But if you are googling for the new configuration params you will only find two things: old stuff from the last century with the old configuration parameters or an awful page of xdebug3 itself, which is telling you what is deprecated, what have changed and so on. But a fast and handy help you won't find on this page.

So i came up with this simple snippet how to use xdebug3 fast and without reading dozens of deprecated search results or configuration params on the xdebug3 page:

xdebug.mode = profile
xdebug.start_with_request=yes
xdebug.output_dir = xdebug

That's it.

posted on Sun, 14 February 2021 by rokku; last modified Sun, 14 February 2021