Added the SQL debug file to verify SQL connections.