Debug messages for error diagnosis.