Debugging tool for Pico CMS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
zz_pico_debug.php

README.md

pico_debug

A debugging tool for Pico CMS. It can help plugin & theme developers to see Pico variables.

INSTALL

  1. Copy zz_pico_debug.php in plugins folder

  2. Enable the plugin - edit config.php and add the line: $config['zz_pico_debug.enabled'] = TRUE;

  3. (optionally) To enable PHP show errors add to config.php: $config['zz_pico_debug']['php_errors'] = TRUE;

USAGE

Open your Pico site, you should see a box on the bottom showing debugging informations.

It also enable Twig debug option, so in a template you can use: {{ dump( var_name ) }}

NOTES

  • Why 'zz_' in the beginning of the filename? It's necessary to let Pico load the plugin in the end