Move debug info to before failure point