= Debugging Templates and Tools = [[TracNav]] [[TOC(inline)]] This page describes debugging options availabe in templates and tools like SCDB or PAN compiler. == Templates == Templates can produce (very) verbose output useful in particular to debug PAN functions. With PAN compiler v7+, you can display this debugging information using the option `-Dpan.debug.flag="true"` in `ant` command line. == SCDB Tools == Main SCDB Tool consist of `ant` task, written in Java. These tasks may print additional information for debugging, using the following flags : * compile.debug.task : debug compilation task (not the compiler). Value must be a non 0 integer : the greater the value, the more verbose the output... ''Works with panc v7+ only.'' * deploy.debug.task : debug task associated with `deploy` target if `"true"`. * rep.debug.task : debug task associated with `update.rep.templates` target if `"true"`. To enable one of these flags, use `-D` option with `ant` command. For example : {{{ ant -Dcompile.debug.task=1 }}}