documented howto debug templates

This commit is contained in:
jorge-vitrubio 2021-11-15 16:55:23 +01:00
parent f0494cb874
commit 0a5c9be1e4
1 changed files with 4 additions and 0 deletions

View File

@ -75,7 +75,11 @@ localhost:
go to the server, inside the theme directory `git fetch --all` and then `git checkout main` and finally `git pull`
## Drupal enable debug mode
This way we can check the html source code and see where the files are generated.
edit `/var/www/html/sites/default/services.yml` set option `debug: true` and go into drupal admin *configuration* -> *development* -> *performance* and **clear all caches**
the url is https://MYWEBSITE.COM/admin/config/development/performance