I am trying to follow the steps from here : https://www.drupal.org/docs/theming-drupal/twig-in-drupal/debugging-twig-templates
But I don’t find a way to create or edit the services.yml
file. It seems that it is outside the directory accessible with webdav.
Any help no that would be useful.
Hi @chernals,
I also tried to do proper debugging for themes etc. and I agree the tools and access we are provided are quite limited (looking forward to the upgraded infra!).
What I do normally is just enable the Devel Kint module and then you can use the kpr()
function on the .theme
file. I am afraid this is the best it gets ![:frowning: :frowning:](https://drupal-community.web.cern.ch/images/emoji/apple/frowning.png?v=9)
I really hope our Drupal admins can give us more powerful developer tools and access on the next iteration of the infra. The developer experience is pretty tough without proper debugging and access.
Regards,
Óscar
1 Like
Dear Chernals
My recipe:
Create a test site,
clone from your official site to a test-website
go to https://<your.test.site>/_site/drush.php and follow the instructions.
As results, you have a docker with a full control of your test-website
best regards
Guillermo
@gmesaper Thanks for the tip, this, however, feels overly complicated/restrictive