Compiling in Debug Mode

To use CodeSmith's debugging features, you need to compile your template in debug mode. You do this by setting the Debug attribute of the [CodeTemplate|http://docs.codesmithtools.com/display/Generator/The+CodeTemplate+Directive] directive to True:

<%@ CodeTemplate Debug="True" Language="VB" TargetLanguage="VB" Description="A simple template." %>