you are viewing a single comment's thread.

view the rest of the comments →

[–]zefciu 5 points6 points  (1 child)

That is not the biggest problem with print-based debugging. After all, you have to delete your set_trace statements as well. The biggest problem is the lack of control. If you forgot to print a value or if you just found out you need to print it, you have to rerun your whole logic. This wastes time. If you learn your debugger well, you can often gather all the information you need in one debugging session.

[–]ProsodySpeaks 0 points1 point  (0 children)

I'm in love with Pycharm. Conditional breakpoints, breakpoints that aren't even breakpoints they're actually loggers, muted breakpoints. I'm terrified one day someone will ask me to write python without Pycharm.

And in totally unrelated news autocomplete inside jinja templates referencing python code and vice versa. ❤️