Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Local Variables as Accidental Breadcrumbs for Faster Debugging. Parent comment
With Python, you can run your program under pdb, which will automatically enter break on exceptions, and you can easily print locals.
https://docs.python.org/3/library/pdb.html
There are no comments on this comment yet.
With Python, you can run your program under pdb, which will automatically enter break on exceptions, and you can easily print locals.
https://docs.python.org/3/library/pdb.html