Improve documentation for IPython.core.debugger and IPython.terminal.debugger
See original GitHub issueThe documentation for IPython.core.debugger
states that it is deprecated but it doesn’t provide any information about what should be used instead. A few questions:
- Was
IPython.core.debugger
deprecated in favour ofIPython.terminal.debugger
? - If so, what should be used in jupyter notebooks (
IPython.terminal.debugger.set_trace()
doesn’t appear to work when used in a notebook)?
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (14 by maintainers)
Top Results From Across the Web
Module: core.debugger — IPython 8.7.0 documentation
This documentation covers IPython versions 6.0 and higher. ... Note that there is also the IPython.terminal.debugger class which provides UI improvements.
Read more >Step-by-step debugging with IPython - Stack Overflow
Using IPython by embedding an IPython shell in your code. You can do from IPython import embed , and then use embed() in...
Read more >Working with Jupyter Notebooks in Visual Studio Code
Start by setting any breakpoints you need by clicking in the left margin of a notebook cell. · Then select the Debug Cell...
Read more >5 Ways of Debugging with IPython - Sebastian Witowski
You can always use the standard Python debugger pdb , but a much better alternative is to use IPython as your debugger.
Read more >Errors and Debugging | Python Data Science Handbook
Code development and data analysis always require a bit of trial and error, and IPython contains tools to streamline this process. This section...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I now use the following in my own code to set (conditional) breakpoints.
I would go with
set_trace()
for consistency with perminal and PDB itself.