Megan Taylor

front-end dev, volunteacher, news & data junkie, bibliophile, Flyers fan, sci-fi geek and kitteh servant

Reducing dependency on console.log

A co-worker recently brought to my attention that I always reach for console.log when I’m trying to figure out why some code is not behaving as I expect. It’s rather like always reaching for a hammer and ignoring the screwdrivers and wrenches. Sometimes a hammer is the right tool. Sometimes it’s not. Ultimately, scattering console.log around your code like fairy dust is not a particularly effective debugging method.

 
These are some things I’m reading to branch out and get comfortable with more debugging tools and techniques:

I hope these links are helpful to others looking to improve their debugging processes!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.