Chrome's DevTools console getting cleared unexpectedly? Blame the Buffer extension!

This was a funny one! After weeks thinking the Chrome team might have messed up, I finally got frustrated and looked for a solution to one of the weirdest problems I had encountered: the DevTool’s console getting cleared unexpectedly.

I use the console on a daily basis to be able to debug applications, so it was fairly annoying to see the logs being wiped out unless I ticked the “Preserve log” checkbox — an error would occur, I would open the console only to find it blank. To make the matter worse, if I’d try to reload the page, I could see the error blink on the console for a fraction of a second, only for it to be cleared under mysterious circumstances.

Eventually, after a few weeks of enabling “Preserve log”, I bumped into this thread on Chrome’s forum and realized I had Buffer installed as well: turning off the extension magically gave me my console back. Don’t ask why, don’t ask how — all that matters to me is that I got my DevTools back :)

Adios!


Hi there! I recently wrote an ebook on web application security, currently sold on leanpub, the Amazon Kindle store and gumroad.

It contains 150+ pages of content dedicated to securing web applications and improving your security awareness when building web apps, with chapters ranging from explaining how to secure HTTP cookies with the right flags to understanding why it is important to consider joining a bug bounty program.

Feel free to skim through some of the free chapters published on this blog and, if the content seems interesting enough to you, grab a copy on leanpub, the Amazon Kindle store, gumroad or simply checkout right down below!

Buy the Web Application Security ebook for $6.99

In the mood for some more reading?

...or check the archives.