if ($_SERVER["REMOTE_ADDR"] == "xx.xx.xx.xx") { // enable debug mode for only my IP address $config['Misc']['debug'] = true;}