In a Python 3.5.2 script where I have, e.g., The interpreter hits these lines and drops me into an ipdb session. Understandably, ipdb has limited functionality compared to an iPython interpreter session (e.g., no magic commands). However, I’m surprised to find that some Python built-ins don’t work, namely list(). I’m guessing there is a name collision between the built-in function
Tag: ipdb
Breakpoint-induced interactive debugging of Python with IPython
Say I have an IPython session, from which I call some script: Is there a way to induce a breakpoint in my_script.py from which I can inspect my workspace from IPython? I remember reading that in previous versions of IPython one could do: but the submodule Debugger does not seem to be available anymore. Assuming that I have an IPython