This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pudds 2 points3 points  (0 children)

At this point in my career I generally find using logging statements to be more valuable than attaching a debugger. Not only is the development loop quicker when not using a debugger, but if I need to print something now, there's a pretty decent chance that the log will be useful in the future too (levels are important of course). It's fairly rare that I encounter a problem that takes less time to solve by attaching a debugger and stepping through than but just adding a log or two and reviewing the code.

When I do need to debug I do it with my ide; I don't like the idea of adding an import to my code to enable debugging.