How to view or edit localStorage

Joe Doe picture Joe Doe · Feb 23, 2012 · Viewed 284.2k times · Source

I created a Chrome extension and am using localStorage for storing data.

I am accessing localStorage through "background_page".

It works fine but how can I manually view its values? In Firefox you can use Firebug.

Anyone have any suggestions?

Answer

user1613294 picture user1613294 · Oct 9, 2012

It's simple. Just go to the developer tools by pressing F12, then go to the Application tab. In the Storage section expand Local Storage. After that, you'll see all your browser's local storage there.