Add pdb for python and function snippet for js