You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not understand why localstorage is used to cache the enabled namespaces. It seems to just cause confusion with unexpected behavior. #901#536#871#534#337
didn't work when I removed the env var. I expected each page load to be an isolated environment until I managed to step through the code and see its caching. I tried to disable storage with debug.store = null but that didn't prevent the initial load.
debug.enable(process.env.VITE_DEBUG_ENABLE??'');
is where I landed, which admittedly isn't complicated, but its weird that I had to deal with this problem.
The text was updated successfully, but these errors were encountered:
I do not understand why localstorage is used to cache the enabled namespaces. It seems to just cause confusion with unexpected behavior. #901 #536 #871 #534 #337
I had to spend some time to figure out why
didn't work when I removed the env var. I expected each page load to be an isolated environment until I managed to step through the code and see its caching. I tried to disable storage with
debug.store = null
but that didn't prevent the initial load.is where I landed, which admittedly isn't complicated, but its weird that I had to deal with this problem.
The text was updated successfully, but these errors were encountered: