Remove pdb from agent