Skip to main content Accessibility Feedback

Debugging tips and tricks

One thing that often trips up newer developers (and sometimes seasoned ones) is debugging code.

At it’s heart, debugging is a trial-and-error process of starting with the last working piece of code and working your way backwards.

Calvin Koepke has put together an awesome set of tips and tricks to help make debugging a little easier. I didn’t realize you can group a set of console logs together like this:

// Group console data together for better viewing. Nice to group console logs together.'label')
  console.log('another message')

Go check out the whole thing. It’s awesome!