Roxen Interactive RXML Help
<debug/>
Helps debugging RXML-pages as well as modules. When debugging mode is turned on, all error messages will be displayed in the HTML code.
Attributes
- on
-
Turns debug mode on.
- off
-
Turns debug mode off.
- toggle
-
Toggles debug mode.
- showvar
- showvar=variable
Shows the value of the given variable in a generic debug format that works regardless of the type.
- showlog
-
Shows the debug log.
- showid
- showid=string
Shows a part of the id object. E.g. showid="id->request_headers".
- werror
- werror=string
When you have access to the server debug log and want your RXML page to write some kind of diagnostics message or similar, the werror attribute is helpful.
This can be used on the error page, for instance, if you'd want such errors to end up in the debug log:
<debug werror='File &page.url; not found! (linked from &client.referrer;)'/>The message is also shown the request trace, e.g. when "Tasks"/"Debug information"/"Resolve path..." is used in the configuration interface.

