Using logging to debug a template
The Log() function takes one argument and would look something like:
Log(Reached the paragraph after A)»
This creates a log message in a file called LogXpressDox.txt which will be written to the My Documents folder of the user running the template.
Another variant of the Log function would be:
Log(concat('Reached point a, variable X has value:', GetV('X')))»
But this is catered for by the function