In you config.php enter this code at the end just above "?>"
The debug mode will now be enabled automatically when you enter the admincp and disabled once you leave it again.
And another tip from Floris:
And to just turn debug mode on for your own IP address, but for the whole forum (forum and admincp) enter this at the end of the config.php file, before the ?> code.
Replace 123.123.123.123 with your own IP address, you can find your IP here. The benefit of this is that it also runs in debug if you change to another account - handy for testing without showing debug to everybody.
Code:
if (VB_AREA == 'AdminCP') { $config['Misc']['debug'] = true; }
And another tip from Floris:
And to just turn debug mode on for your own IP address, but for the whole forum (forum and admincp) enter this at the end of the config.php file, before the ?> code.
Code:
$ips = array('123.123.123.123'); $config['Misc']['debug'] = (in_array($_SERVER['REMOTE_ADDR'], $ips) ? true : false);