cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
KonradHoeffner
New member
Status: New idea

consolegroup.png

Console groups are helpful for bug fixing when developing large web applications with lots of console debug statements, however it becomes very easy to overlook a bug when the console error statement is hidden in a closed group. Thus I propose to either (A) automatically open any group that contains an error or (B) automatically color a group as red when it contains at least one error.

 

 

console.groupCollapsed("Everything OK here");
console.log("Function A succeeded");
console.groupEnd();

console.groupCollapsed("We got a problem here");
console.log("Function B succeeded");
console.error("Function C failed");
console.groupEnd();

 

 

2 Comments
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

Honza
Employee
Employee

I like the idea. I've filed a request for an enhancement: https://bugzilla.mozilla.org/show_bug.cgi?id=1904361

Thank you!