Debugging
https://secure.gravatar.com/avatar/b28e536690cbbcc42568497fe280b4f4.png?d=wavatar&s=28
Fri Jul 02 16:50 Authored by zegenie

Debugging is available when the debug mode is enabled. You can do this either programmatically by calling pachno\core\framework\Context::setDebugMode(true); or globally by setting debug: true in the core/config/settings.yml file.

The debug toolbar

When debug mode is enabled, you'll see the debug toolbar at the bottom on all page views. This debug toolbar connects to the things happening in the framework and shows you all the relevant information such as timing information for database lookups, all registered log events, information about the current route and more.

The debug toolbar also hooks into all Pachno fetch() calls, so you'll get full debug information about these as well.

Attachments 0

Comments 0

/unthemed/mono/no-comments.png
Expand, collaborate and share
Post a comment and get things done