News for hackers. Stuff that matters.
Re:Guide to Python Debugging by trymas on Tuesday June 02, 2020 @04:56AM (#23389083)
Can you step through the code when embedding ipython in your code? Does this approach have advantages versus `ipdb` or `pdb++` ?
Re:Guide to Python Debugging by drpancake on Tuesday June 02, 2020 @05:08AM (#23389145)
No, but I rarely find it helpful to step through code. That's the other 2%.
Re:Guide to Python Debugging by jsmeaton on Tuesday June 02, 2020 @06:14AM (#23389459)
import ipdb; ipdb.set_trace()

IPython pdb session.

Re:Guide to Python Debugging by drpancake on Tuesday June 02, 2020 @06:33AM (#23389539)
Yes I'm aware of this.