change pdb snippet to ipdb