Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.
/ pico_debug Public archive

Debugging tool for Pico CMS

License

Notifications You must be signed in to change notification settings

blocknotes/pico_debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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/