Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or even just breakpoint() built-in in python 3.7+ In addition you can set PYTHONBREAKPOINT=ipdb.set_trace (or whatever you prefer) in your shell rc file


It has really bothered me that `breakpoint()` didn't start ipdb when running a script using ipython.

I guess this is a good workaround!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: