15Jan/090
Debug a CodeSmith template
This is more of a more reminder to myself than anything else. Everytime I go looking for the keyword to set a breakpoint in the CodeSmith template code behind, I ended up spending a solid 20-30 minutes looking in all the wrong placed. I guess I need to learn to Google a bit better.
In order to set a breakpoint in a CodeSmith template set the .cst Debug tag to True. Then set your break point using Debugger.Break or if you're in the code behind add the namespace System.Diagnostics.Debugger.Break.
More info on CodeSmith Tips by Paul Welter.