The designer has a full-featured debugger that you can use to debug the processing of a template, including viewing all variables, the result of each tag being processed, etc. This includes the ability to single step and place breakpoints.