Show HN: Screenlog.js – use console.log without opening the console(github.com)
github.com
Show HN: Screenlog.js – use console.log without opening the console
https://github.com/chinchang/screenlog.js
5 comments
>Ever faced a situation where you said "Why doesn't this bug show up when developer console is open!!"? And since the bug doesn't show when you have console open, you cannot do debug logging using console.log.
Not since IE8, really. Is this a thing? Still a nice project though.
Not since IE8, really. Is this a thing? Still a nice project though.
Even then, wasn't it usually the opposite case, where you would get the "console undefined" error when the developer console was closed? I can't think of a single case where an error only occurs (or is observed) when the console is closed. Having said that, this project definitely still has its practical uses.
Yes. Atleast I have seen this a lot with me and my colleagues. console.log brings in lot of additional monitoring, time lag etc which can affect debugging.
Should be helpful for debugging the Xbox One Edge browser with Vorlon.js.
Will be using it on my next project.
That said though, if you have the option then the bookmarklet version of Firebug Lite is much nicer: https://getfirebug.com/firebuglite