Presents various tools for development.
Do not enable this module on production systems, as it severely impacts performance.
After the development module is enabled a menu item Development is added to the System menu in the admin.
On the development page it is possible to set debugging options, trace template compilation, and test dispatch rules.
This can toggle various development options:
The template selection mechanism is quite complicated. It takes into account all modules, their priority, the user-agent class (desktop, tablet, phone or text) and optionally the category of a resource.
With this debugging tool you can optionally select a category, and fill in the name of the template. Per user-agent class the selected template will be shown.
The second debug option is a page with a live display of all templates being compiled. With this it is possible to get greater insight in the template selection and compilation.
With this it is possible to see for a request path which dispatch rules are matched and/or how it is rewritten.
When this module is enabled, it runs an inotifywait program in the background, which watches files in Zotonic and its site for changes. If it detects changes, it performs certain actions.
Automatic recompilation currently only works on Linux and depends on the inotifywait tool, which is part of the inotify-tools package.