messed up debug log