News for hackers. Stuff that matters.
Re:You say “cave dweller debugging”, I say debug logging by probably_wrong on Friday May 06, 2022 @10:01AM (#31285186)
I know your list is not intended to be exhaustive, but it's missing my main reason for using print: because the debugger can be really slow (at least in Python).

For some operations, running them in debug mode means they are 10 times slower, turning a 30sec operation (such as parsing big files into memory) into 5 minutes. If I'm relatively certain of what the problem is and I solve it in less than ~5 tries, I saved time.

Re:You say “cave dweller debugging”, I say debug logging by supermatt on Friday May 06, 2022 @11:15AM (#31286145)
Python, AFAIK, doesnt have a 'debug' mode, so its likely the IDE that is slowing down your debugging experience. Im not sure how you work around that - some IDEs do a lot of superfluous stuff when 'debugging', and may have settings to toggle features.

You can also just import the debugger where you need to use it, in which case you shouldn't get any slowdown.