Debug php_errormsg
Debug initial connection to db in index.php