mid-debugging