In Chrome/firefox Developer Tools, Is It Possible To Hide All But The First Two Errors? (since React Gives Lots Of Garbage Errors)
In React when things go wrong you often wind up with A LOT of error messages in your console. Some can be duplicates of the original error, and some are unrelated errors caused by
Solution 1:
Only showing first n errors/warning is not possible from the developer tools at least for Chrome 86.0.4240.75 or earlier.
If you want to create your own plugin, you can for sure achieve this!, but there are multiple things you can try to keep unnecessary logs filtered from the console.
For example, you can decide what level og messages you want to see:
or filter messages by text or regex from filter box
or filter messages from a particular file:
Learn more about log filtering from official guide.
Post a Comment for "In Chrome/firefox Developer Tools, Is It Possible To Hide All But The First Two Errors? (since React Gives Lots Of Garbage Errors)"