fakebug.js
So, we all use and love Firebug. It makes developing and debugging Web Applications and especially JavaScript so much easier. Most of our JavaScript files contain at some point a console.log call.
The stupid thing is when you forget to remove that debug statement the code breaks on all non-firebug browsers. Everything works fine on your browser but it just breaks on your client’s browser without firebug. ;)
To avoid that I’ve developed fakebug: fakebug adds a fake console functions if firebug is not available.
Comments
Leave a Reply

