Chromium localStorage not showing in Developer Tools

怎甘沉沦 提交于 2019-12-18 10:39:42

问题


Trying to view my test localStorage, I see nothing in the Storage section under Applications in the Developer Tools. However, using the console, I can access it, meaning its clearly there. Am I missing something or does this seem to be a bug I couldn't find anything about?

I am using Chromium Version 57.0.2978.0 (64-bit)


回答1:


Its a known Bug (#701413)

They fixed it in version 59.0.3069.0 (#718482)

I can see the localStorage of different domains like FB, but not from the current domain. When starting up developer tools it appears, but disappears after a reload.




回答2:


I have been encountering the same issue. Not a great solution, but if one closes the developer tools and reopens the developer tools, one will find the domain showing again under Local Storage with all the local storage name value pairs. At least I found a nice shortcut to open and close the developer tools researching this issue. cmd + option + i for mac. I hope this helps my fellow coders. Chrome Version 57.0.2987.133 (64-bit) MacOS.




回答3:


Workaround: re-open the Dev Tool, that is press F12 twice. Tested on Ubuntu Chrome 58.



来源:https://stackoverflow.com/questions/42703129/chromium-localstorage-not-showing-in-developer-tools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!