This function allows you to trace the user variables associated with the specified scope. It may be particularly useful when debugging your templates.
The function returns a string containing information about each variable represented in the following form:
variable_name={type: value}
variable_name={null}
scope
If this parameter is not specified, the global scope is assumed by default.
namePrefix
Use echo()
function to print the variable information on Java console
(i.e. the standard system output), for example:
echo(traceVars())