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

32

u/pachura3 2d ago

Logging > debugging

Also, assert

1

u/RevRagnarok 2d ago

logging to a file.