Viewing Storage API sync data

Hey!

Is there any way by which I can view the data stored in the sync storage of the Storage API for an extension that I am developing? I know that the local storage can be viewed in the debugging tools, but I can’t find anything to view the data stored in the sync storage.

Any help would be appreciated. Thank you!

You can use query the data from the developer console.
Open your addon page (or inspect the background script) and execute:

await browser.storage.sync.get()

This worked! Thank you so much!

1 Like