View layer pattern where you only present what you have been given is fine and all, but how do you know what is available? Is there a \"list all defined variables\" function
For debugging Twig templates you can use the debug statement.
There you can set the debug setting explicitely.