Add more possibilities for debug output if one goes wrong.