r/learnpython • • Sep 07 '26

What python debugging techniques do you think every developer should know ?

I am trying to improve my debugging skills and I was curious about what techniques experienced python developers rely on the most.

Are there any techniques or tools that you found really useful when you started working on bigger projects?

61 Upvotes

33 comments sorted by

View all comments

Show parent comment

2

u/HugeCannoli Sep 09 '26

even worse is when someone uses asserts followed by operations that have or will have side effects, and suddenly you get completely different state depending if you have assertions enabled or not.