Adding debug feature to twig