#DEBUG
Syntax
#DEBUG(Message)
Parameters
- Message - The text to display.
Description
Log a debug event to the event log. When the cScript is processed as part of a publish or system task, the event will be logged to the corresponding system task.
Related
Example
#LIST($Contacts)
#DEBUG("Iterating over contact with OID 99492")
<p>$FirstName $LastName</p>
#ENDLIST
Result
If the cScript example above were published, the debug message would appear in the publish system task.