Troubleshooting Text Templates
Visual Studio 2008
You can troubleshoot text templates by enabling the debug parameter of the template directive and adding break statements to the code. The topics in this section explain how to use the debug parameter.