+++ date = "2025-02-10T22:43:03+00:00" lastmod = "2025-02-10T22:43:03+00:00" tags = [ "webdev" ] +++ I've just learned something the hard way. There's stuff out there that spins [`console.clear()`](https://developer.mozilla.org/en-US/docs/Web/API/console/clear_static) and [`debugger`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger) in infinite loops. I don't know why that's a thing but I like to call it: clear console log debugger abuse. In Chrome/Chromium limit [debuggers](https://devtoolstips.org/tips/en/disable-abusive-debugger-statement/) and [logs](https://phuoc.ng/collection/tips/persist-console-logs-between-page-refreshes/). In Firefox, [enable log persistence](https://firefox-source-docs.mozilla.org/devtools-user/settings/index.html#settings-common-preferences)/[timestamps](https://firefox-source-docs.mozilla.org/devtools-user/settings/index.html#web-console) and [control breakpoints](https://firefox-source-docs.mozilla.org/devtools-user/debugger/how_to/disable_breakpoints/index.html) manually.