Is this possible or on the todo list? Trying to debug my complex template is getting harder :) If I could include the current template file name and the line number in the output that would be helpful. I can then use these in a comment so I can track down errors quicker. Cheers