A helper for debugging during development. Suitable for CI beginners and everyone else.
Save code below to file, name as debug_helper.php and put in your /system/application/helpers folder.
Recommended usage is to autoload this helper in system/application/config/autoload.php.
This makes it easy to turn debugging on and off.
Call these methods anywhere: models, views and controllers.
</pre>