Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Xdebug to work with .twig templates #1239

Merged
merged 1 commit into from
Sep 20, 2019

Conversation

JohnAlbin
Copy link
Contributor

@JohnAlbin JohnAlbin commented Sep 10, 2019

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated. Not applicable
  • Changelog entry has been written

The Lagoon docs say to copy this development.services.yml file. That file sets twig.config.cache to false. Unfortunately, disabling twig cache prevents Xdebug from working with .twig files.

See #1238

Changelog Entry

Documentation - Allow Xdebug to work with .twig files (#1238)

Closing issues

Closes #1238

Disabling twig cache prevents Xdebug from working with .twig files. With twig cache enabled, you still don't need to do `drush cache clear` since `twig.config.auto_reload` is already set to true.
@Schnitzel Schnitzel merged commit 18c8607 into uselagoon:master Sep 20, 2019
@Schnitzel Schnitzel added this to the v1.1.0 milestone Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lagoon docs prevent Xdebug working with .twig templates
2 participants