When i run ddev xdebug toggle, i get this error:
PHP Warning: Failed loading Zend extension 'xdebug.so' (tried: /usr/lib/php-zts/modules/xdebug.so (/usr/lib/php-zts/modules/xdebug.so: cannot open shared object file: No such file or directory), /usr/lib/php-zts/modules/xdebug.so.so (/usr/lib/php-zts/modules/xdebug.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
I think it is because web-build/Dockerfile.frankenphp copies the normal php extensions' .ini files, which point to xdebug.so rather than the xdebug-zts-84.so (replace 84 with php version in use) file that is created/used in frankenphp.
When i run
ddev xdebug toggle, i get this error:I think it is because
web-build/Dockerfile.frankenphpcopies the normal php extensions'.inifiles, which point toxdebug.sorather than thexdebug-zts-84.so(replace 84 with php version in use) file that is created/used in frankenphp.