13. For debugging

13.1. Comment

XML comments are displayed without change normaly. To remove some comments, start comment with #.

<!-- this comment will keep. --> 
<!-- # this comment will be removed. -->
     

13.2. Debug information

Easy way to show debug information is to use

setErrorHandling(PEAR_ERROR_PRINT)

method.

And

setOption(ZOGAN_OPTION_DEBUG, true);

method is also easy way. In this case, the template will be compiled every display.

To compile templates every time to display, use

setOption(ZOGAN_OPTION_FORCE_COMPILE, true)

method.