DEV Community

Discussion on: Javascript: 5 cool things you can do with console that aren't console.log

Collapse
almostconverge profile image
Peter Ellis

Y U NO console.trace()? :)

It's something I use a lot when trying to figure out an unfamiliar codebase and where stuff is called from without having to faff with breakpoints.

Collapse
catmcgeecode profile image
Cat McGee Author

Hahaha sorry Peter! I’ve never used console.trace() myself so I didn’t want to recommend it, but that sounds awesome. I’ll look into it!

Collapse
almostconverge profile image
Peter Ellis

Don't say sorry, you promised 5 cool things and you delivered 5 cool things, mission accomplished.