diff --git a/frontend/src/initKea.ts b/frontend/src/initKea.ts index 936fb12e7d84a..d500b27bf441c 100644 --- a/frontend/src/initKea.ts +++ b/frontend/src/initKea.ts @@ -114,7 +114,8 @@ export function initKea({ routerHistory, routerLocation, beforePlugins }: InitKe waitForPlugin, ] - if (window.JS_KEA_VERBOSE_LOGGING) { + // To enable logging, run localStorage.setItem("debug", true) in the console + if (window.JS_KEA_VERBOSE_LOGGING || ('localStorage' in window && window.localStorage.getItem('debug'))) { plugins.push(loggerPlugin) }