DEV Community

Discussion on: Say no to console.log!

Collapse
 
oculus42 profile image
Samuel Rouse

Great list! When I'm debugging I often put a console.trace() within a console.group(). This lets me provide identifying information at the group label, and be able to open the group to get to the detailed trace information without it blowing up the console.

Collapse
 
harry625 profile image
Muhammad Ateeq

That's a neat debugging technique! Using console.trace() within console.group() sounds really efficient for organizing and accessing detailed trace information without cluttering the console. Thanks for sharing this tipβ€”it's definitely going to be useful in my debugging toolkit!

Collapse
 
john_poku_4059fc2b8f98fb5 profile image
John Poku

Nice

Collapse
 
john_poku_4059fc2b8f98fb5 profile image
John Poku

Great