Add pdb snippet

Hey, this is a snippet that i think could be useful on debugging.