Refine debugging options