Starting points:
- https://docs.devwithlando.io/tutorials/lando-with-vscode.html
- https://docs.devwithlando.io/services/php.html#using-xdebug
In .vscode/php.ini
set xdebug.profiler_output_dir
to one of the shared file locations described at https://docs.devwithlando.io/config/files.html
The Pantheon Lando recipe does NOT support setting a custom php.ini
with the usual settings in .lando.yml
:
config:
conf:
php: .vscode/php.ini
Instead, following https://docs.devwithlando.io/tutorials/setup-additional-services.html#overriding-recipe-services, you can use the following in .lando.yml
:
services:
appserver:
config:
conf: .vscode/php.ini