Hacker News new | ask | show | jobs
by gbog 4586 days ago
I would say that the real boss debugging starts with finding a way to make it first a unittest debugging.

Once the weird behavior is covered, usually print debugging is even better than pdb because it will encourage you to extend the test suite.

What I would like though is a special monkey patching in python that allow my to write print like "p this that" and will prettyprint this and that on stdout