blocknotes / pico_debug

Debugging tool for Pico CMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PROJECT UNMAINTAINED

This project is not maintained anymore

If you like it or continue to use it fork it please.



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

My website: https://blocknot.es/

About

Debugging tool for Pico CMS

License:MIT License


Languages

Language:PHP 100.0%