Re:“I think the vast majority of developers still debug usin...
by ProfXponent on Sunday June 05, 2022 @07:05AM
(#31629863)
I agree that logging is essential in any system, but I read most of the original comments as tossing console.log(foo) at various points to manually observe the outcome.
The approach you described is much more structured and absolutely vital.
it's really fundamental to have good logging! both to discover issues as they unfold, and to debug past runs of the program for which you didn't know there was a problem and as such you didn't run the code in a debugger