You can do more than just console.log()
The JavaScript console object has a number of methods that can be very useful to debugging. Below are a few examples: This method allows to you create new inline (and collapsible) groups in the console output. You can close/exit the inline group by calling console.groupEnd().