set up debug traps for unreproducible error