DEV Community

Russell Jones
Russell Jones

Posted on

Don't let failure get you down | Drupal 10 Twig struggle

I hoped to walk you through the process of "proper" Twig debugging in Drupal.

I expected a trip-up or two we could recover from.

I've enabled Twig debugging the Drupal way a thousand times in Drupal 9 and below.

I've already made a video of how to enable it in a way that will get overwritten next time you update Drupal.

Should be easy right? Maybe I'm not practised enough in video tutorials. Maybe I'm tired. Maybe I made a silly mistake. Maybe I suck?

I can re-record and pretend it didn't happen.

I can practice and make it perfect. Snazz it up with an intro and some high BPM jams.

I can pretend I'm 10x and you can be too.

But instead I will share my failure:

And make lemonade with "Git to the Rescue!":

It's normal to mess up.

Moving right along

TODO

  • Get to the bottom of Drupal 10 Twig Debugging

Top comments (0)