19

Chrome DevTools has a handy inspector for Local Storage and Session Storage, but is there nothing to inspect chrome.storage.sync?

enter image description here

chrome://sync-internals/ doesn't seem to display the actual contents of the synchronized storage per extension.

wOxxOm
  • 53,493
  • 8
  • 111
  • 119
Dan Dascalescu
  • 127,343
  • 44
  • 300
  • 387

3 Answers3

16

Storage Area Explorer extension provides a UI for viewing, editing, clearing, importing and exporting of chrome.storage.local, chrome.storage.sync, localStorage and sessionStorage:

screenshot

wOxxOm
  • 53,493
  • 8
  • 111
  • 119
8
  1. Visit chrome://sync-internals/
  2. Click Sync Node Browser tab and wait for it to load (may give a blank screen or in progress cursor)
  3. Click expansion triangle in the sidebar for Extension settings
  4. Click on individual settings in the sidebar to see their values and other metadata

screenshot of Sync Internals page

Nick McCurdy
  • 13,784
  • 4
  • 44
  • 72
7

A poor workaround is to call get and obtain all the stored values. Of course, this doesn't let you conveniently edit them:

chrome.storage.sync.get(null, function callback(items) { console.log(items) });
Dan Dascalescu
  • 127,343
  • 44
  • 300
  • 387
  • 3
    Tip: save it as a snippet in Sources tab. Anyway [Storage Area Explorer](https://chrome.google.com/webstore/detail/storage-area-explorer/ocfjjjjhkpapocigimmppepjgfdecjkb) extension is by far a better solution. – wOxxOm Sep 07 '15 at 09:49
  • 1
    @wOxxOm this comment should be an answer to this question – jusio Sep 08 '15 at 18:55