DEV Community

Discussion on: Tell me a coding confession

Collapse
 
wolfhoundjesse profile image
Jesse M. Holmes

I console.log() things more often than setting a breakpoint and hitting the debugger. Working on it.

Collapse
 
cjbrooks12 profile image
Casey Brooks • Edited

There's nothing wrong with println debugging! While breakpoint debuggers are a great tool, it is really hard to use them well in async code, which is where good logging is an absolute must! And sometimes, it's just faster and easier to print logs instead of stepping through line-by-line

Collapse
 
gregorgonzalez profile image
Gregor Gonzalez

the old reliable!