Reputation: 6503
Some of the web pages that I need to be open, while developing my script, produce a lot of errors that go into the Error Console of the Firefox. This makes it really hard to spot the errors, which are produced by the script, that I am trying to develop. Is there any way to filter the errors in Error Console? For example display only those that begin with my custom tag.
Upvotes: 4
Views: 1380
Reputation: 1395
Have checked console.group method? This should be excatly what you are looking for
http://getfirebug.com/wiki/index.php/Console_API#console.log.28object.5B.2C_object.2C_....5D.29
https://developer.mozilla.org/en-US/docs/Web/API/Console/group
Upvotes: 0
Reputation: 3180
Yes, nowadays you can filter in the console, using built-in functionality. You can select different type of console messages, or even filter by a custom string, such as your own tag.
Upvotes: 1
Reputation: 10372
Sounds like you need a console prividing some filter and search capabilities like Console². It replaces the standard console with a more powerful version and works quite well. And it has a search box.
Upvotes: 1