| 1 | = Debugging Templates and Tools = |
| 2 | [[TracNav]] |
| 3 | |
| 4 | [[TOC(inline)]] |
| 5 | |
| 6 | This page describes debugging options availabe in templates and tools like SCDB or PAN compiler. |
| 7 | |
| 8 | == Templates == |
| 9 | |
| 10 | 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. |
| 11 | |
| 12 | |
| 13 | == SCDB Tools == |
| 14 | |
| 15 | Main SCDB Tool consist of `ant` task, written in Java. These tasks may print additional information for debugging, using the following flags : |
| 16 | * compile.debug.task : debug compilation task (not the compiler). ''Works with panc v7+ only.'' |
| 17 | * deploy.debug.task : debug task associated with `deploy` target. |
| 18 | * rep.debug.task : debug task associated with `update.rep.templates` target. |
| 19 | |
| 20 | To enable one of these flags, use `-D` option with `ant` command. For example : |
| 21 | {{{ |
| 22 | ant -Dcompile.debug.task="true" |
| 23 | }}} |