jusio
jusio

Reputation: 9920

How to inspect contents of storage.local in Chrome Packaged App?

Is there some way (extension, or special debug option) to inspect contents of storage in Chrome Packaged App, other than using javascript console?

Resources tab only allows inspection of localStorage/sessionStorage (which is disabled in packaged apps)

Upvotes: 11

Views: 9299

Answers (2)

jusio
jusio

Reputation: 9920

After I've realised that there is really no other option but JS console, I've created devtools extension (took 4 hours to create initial version), which can inspect chrome.storage.

So now there is such tool=)

Sources

Upvotes: 33

kzahel
kzahel

Reputation: 2785

Try just typing:

chrome.storage.local.get(function(data) {
  console.log(data);
}); 

then look in the console.

Upvotes: 9

Related Questions