Add pdb to python snippets