PDA

View Full Version : Tip: Enabling Debug Mode in the AdminCP Only


DraX
05 May 2007, 07:25
I had a hard time finding the answer to this in the existing articles, and for those developing add-ons on a live site this seemed like it could be quite useful.

To enable Debug mode ONLY in the Admin CP, add the following lines anywhere in the config.php file:

if (VB_AREA == 'AdminCP') {
$config['Misc']['debug'] = true;
}


This works best if you're the ONLY person with access to the AdminCP