KonradHoeffner
New member
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
โ06-18-2024
04:57 AM
Status:
New idea
โ
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();
See more ideas labeled with:
2 Comments