You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to integrate the IPython debugger with a library I'm developing.
I've been playing around with Pdb and TerminalPdb. Based on the documentaion, the difference is that TerminalPdb is a "standalone version that uses prompt_toolkit".
I took a look at the prompt_toolkit documentation and it is a tool geared towards CLI applications (which I think explains why TerminalPdb doesn't work in a Jupyter notebook):
AttributeError: 'ZMQInteractiveShell' object has no attribute 'editing_mode'
It seems that my best bet is to integrate with Pdb when my library is running on a Jupyter notebook and with TerminalPdb when running on a terminal, but I'm wondering whether there are any other differences.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm looking to integrate the IPython debugger with a library I'm developing.
I've been playing around with
Pdb
andTerminalPdb
. Based on the documentaion, the difference is thatTerminalPdb
is a "standalone version that uses prompt_toolkit".I took a look at the
prompt_toolkit
documentation and it is a tool geared towards CLI applications (which I think explains whyTerminalPdb
doesn't work in a Jupyter notebook):It seems that my best bet is to integrate with
Pdb
when my library is running on a Jupyter notebook and withTerminalPdb
when running on a terminal, but I'm wondering whether there are any other differences.Thanks!
The text was updated successfully, but these errors were encountered: