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.