// 123.123.123.123 is your IP address if ($_SERVER['REMOTE_ADDR'] == '123.123.123.123') { $config['Misc']['debug'] = true; }