If your server is correctly configured, you would not have to set debug to false. Rather, set debug to true in a special localhost config file. If you follow these suggestions that, does the panel work?
There’s also a similar problem described here, where the error was caused by an empty folder in /site/fields or the plugins folder.