Add pdb debug mode