Closed danksearle closed 7 months ago
You have xdebug: false
in your configuration, this disables Xdebug. Try setting it to xdebug: true
. Ref https://docs.lando.dev/php/config.html#using-xdebug
Going to close this out unless there are more questions!
I proved this with a simple Backdrop setup. I check if xdebug is added to php each time by checking the output from phpinfo in the browser, via a simple PHP page. After a "lando destroy", the first "lando rebuild" adds xdebug correctly. If I then run "lando rebuild" again, it fails to add xdebug to PHP. If I run "lando restart", then it does add xdebug correctly. Running "lando rebuild" again will break xdebug again.
My test site file structure is this:
.lando.yml
php.ini