Implement --pdb in a python cli