2 ms·
I use print with python for small scripts, if I'm doing a big app I use the logging module and set log level to debug when debugging, because that's what log le
by nodja 8y ago
I use print with python for small scripts, if I'm doing a big app I use the logging module and set log level to debug when debugging, because that's what log levels are for.
Debuggers are nice for big apps that you don't truly grasp the scope of, I know debuggers have saved my bacon several times when dealing with quirks/bugs of UI frameworks. Just being able to inspect variables and check the call stack is a great way to find out why/when shit hit the fan.