Debug SQL file