only display detailed errors if Site::$debug==true