get inside the function python pdb code example Example: debugging python import ipdb; ipdb.set_trace()