Debugging in TemplateValidator