pass debug setting to twig