Adds a function for python ipdb