Hacker News new | ask | show | jobs
by Barrin92 1059 days ago
as an alternative to pdb I like to use

`import code; code.interact(local=locals())`

Drops you into the interpreter and is sufficient for a lot of debugging problems.