save file before debugging tests