I enabled Twig debug and I tried to debug some custom fields. However, if I try this with debug()
or kint()
, my application always crashes. My PHP memory size is currently 512MB; I assume that should be enough.
I realise that node
is a bit too much to debug, so I tried debugging a field as in node.field_video
, but that didn't work out as well.
How do I check the content of variables passed to a template file?