Skip to content

Instantly share code, notes, and snippets.

@betweenbrain
Last active October 4, 2018 18:51
Show Gist options
  • Save betweenbrain/2460b89d1d69675a52aafd53af1435fe to your computer and use it in GitHub Desktop.
Save betweenbrain/2460b89d1d69675a52aafd53af1435fe to your computer and use it in GitHub Desktop.
[WIP] VS Code, Lando and Xdebug w/ profiling

Starting points:

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

Pantheon

The Pantheon Lando recipe does NOT support setting a custom php.iniwith 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment