I've been searching the internet for hours but I just can't seem to var_dump within the invoice template. I need to put things like EAN etc. in the invoice template but only for certain customer groups, that's why I need to know the variable names.
In Shopware 5 it was var_dump plain and easy but in Shopware 6 nothing I try seems to work.
I've already tried {{ dump() }} within twig code blocks but nothing happens.
Help would be greatly appreciated!