Debugging JavaScript -console.loggerheads?
Christian Heilmann
425

I know I need to learn the fancy methods at some point, but console.log and the normal error messages in node or Chrome are just so simple and get the job done. I am reading Eloquent Javascript and am on the debugging chapter. I have only read a few paragraphs and I’m already overwhelmed! It’s good to know there are real (and by “real" I mean “professional” developers who still prefer a simple console.log. (I can’t imagine using alert for something like iterating through a loop. How annoying!)