Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
EamonnMR
on March 30, 2021
|
parent
|
context
|
favorite
| on:
Icecream: Never use print() to debug again in Pyth...
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.
beaugunderson
on March 31, 2021
[–]
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:
That said, sometimes you don't want to interrupt execution and see your results in real time.