Added debug information to the detect dawn function