docs.roxen.comBack to normal mode
DocsRoxen2.2Web Site Creator ManualProgramming Tags
Copyright © 2004, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com

<debug/>

Provided by module: Tags: RXML 2 tags

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.


showid="string"

Shows a part of the id object. E.g. showid="id->request_headers".


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;)'/>