DEV Community

Cover image for You can do more than just console.log()

You can do more than just console.log()

Daryl Lukas on May 18, 2021

The JavaScript console object has a number of methods that can be very useful for debugging. Below are a few examples: Groups using conso...
Collapse
 
stephanie profile image
Stephanie Handsteiner

console.trace() is also nice for debugging, clue is in the name, it outputs the stack trace to console. :)

Collapse
 
javacode7 profile image
JavaCode7

Thankyou. I never really thought about using more than console.log()!

Collapse
 
mahendranv profile image
Mahendran

That's a pretty nifty set of logging methods. Thanks.

Collapse
 
vivekalhat profile image
Vivek Alhat

Excellent article. Thanks for sharing!

Collapse
 
pavelee profile image
Paweł Ciosek

wow, you made my day! <3

Collapse
 
spurwing profile image
Spurwing

Awesome, thanks for sharing!

Collapse
 
gauravkkush profile image
Gaurav Kushwaha

This is insightful, Thanks.

Collapse
 
dieunelson profile image
Dieunelson Dorcelus

Thanks for this tips 🙂

Collapse
 
conorluddy profile image
Conor

Nice. I never think to use console.table. very useful

Collapse
 
92xeeshan profile image
Zeeshan

Excellent 👌

Collapse
 
starpebble profile image
starpebble

Neat article. My little feedback: I'm not married to JS. Though it's nice features like this which encourage me to stick with it.

Collapse
 
acahuiche profile image
Alberto Cahuiche

Gracias, excelente info

Collapse
 
preetiwadhwani_ profile image
Preeti Wadhwani

Loved it, thanks for sharing!