Shift debugging to a stand-alone filter - the filter will wrap each template contents within some basic HTML comments.