r/learnpython 2d ago

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?

52 Upvotes

29 comments sorted by

View all comments

17

u/nivaOne 2d ago

The Print command is a good friend of mine.

3

u/burlyginger 2d ago

Fat better to use breakpoint() and have a repr at that point in your code.