Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Debug

Summary

Turns on/off template debug output.

Usage

 

Debug=enabled|disabled

Description

If you enable this setting eZ Publish will display a list of debug messages at the bottom of each page. The output is configurable, but will typically consist of information about the time used to render the page, warnings or errors while executing your template, information about the SQL queries executed and a list of the templates used.
Turning on debug will also make eZ Publish output comments in the HTML output each time it loads a new template.

If things don't work as you expected while developing your site, turn on Debug and make sure that there are no warnings or errors while rendering your page.

Note: If you have caching enabled, some debug messages may disappear the second time you load a page. This is because the cache was used instead of rerendering the page. If you want to see all the debug messages you have to clear the cache or turn off caching alltogether.

When it comes to the debug setting, use either:

  • "enabled" to see which template files are loaded or
  • "disabled" to supress debug

Warning: Will add debug xhtml comments you your source code, including mails!

Note: No debug on templates starting with <!DOCTYPE to not trigger quirks mode in web browsers!

Frederik Holljen (14/04/2005 12:39 pm)

Geir Arne Waaler (25/08/2010 2:39 pm)

Frederik Holljen, Geir Arne Waaler


Comments

There are no comments.