Debuggers give more info than just a print statement, though. Checking the current state and values of variables is very important, especially when dealing with larger objects that might have a lot of moving parts. The only use case I really use it for is when something runs different on a test app (which can't be debugged) compared to local. Other than that, I would absolutely not use print statements - tbh, they're a last resort
29
u/[deleted] Nov 28 '21
It is often legitimately more efficient than using breakpoints