News for hackers. Stuff that matters.
Re:Icecream: Never use print() to debug again in Python by EamonnMR on Tuesday March 30, 2021 @09:08AM (#26634125)
Pre 'breakpoint()' you could always use import pdb; pdb.set_trace()

That said, sometimes you don't want to interrupt execution and see your results in real time.

Re:Icecream: Never use print() to debug again in Python by beaugunderson on Tuesday March 30, 2021 @10:14PM (#26642810)
I like `from IPython import embed; embed()` because you get an entire ipython instance with access to all local variables :)