print _variables
Details
prints all variables in scope and temp variables to a file
Example:
print_variables = {
file = log_file
text = header_text
append = yes
print_global = yes
var_list = { a b c } #optional
}Source: Triggers Documentation