22 points · by stablemap · 8y ago · 3 comments
import ipdb; ipdb.set_trace()
which drops you into ipython debugger shell which is largely superior to the default pdb, e.g. due to code completion (I’m not sure that’s what you meant).There’s also a %pdb magic which works in notebooks somewhat well.