Search code examples
ddev

Can I downgrade xdebug in ddev?


There's a conflict between SublimeText and xdebug 2.6.0, when using SublimeText's xdebug package and PHP 7, resulting in no context information being displayed during debugging (the sent data is badly formed, according to the console). Downgrading to xdebug 2.5.5 circumvents the issue in other local environments I use.

Is it possible to (easily?) downgrade xdebug to 2.5.5 in the ddev environment?


Solution

  • Starting with the v0.20.0 release sudo is available in the web container, so you can use a post-start hook or ddev ssh or ddev exec to make any changes to containers that you need. You'll have to figure out how to do that downgrade on Debian 8 though.