Tips for debugging with print()
If you’re embarrassed at debugging with
print()
, please don’t be - it’s perfectly fine! Many bugs are easily tackled with just a few checks in the right places. As much as I love using a debugger, I often reach for aprint()
statement first.
Source: Tips for debugging with print(), an article by Adam Johnson.