Hacker News new | past | comments | ask | show | jobs | submit login

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.




I like `from IPython import embed; embed()` because you get an entire ipython instance with access to all local variables :)




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: