有没有办法在开发者工具中查看 chrome.storage.local?

Is there a way to view chrome.storage.local in Developer Tools?

我有一个 Chrome 扩展程序,我可以在开发人员工具的“资源”选项卡上查看背景页面 localStorage。

有没有办法为 chrome.storage.local 做同样的事情?

您可以使用此扩展程序:https://chrome.google.com/webstore/detail/ocfjjjjhkpapocigimmppepjgfdecjkb

以下是扩展 Devtools 的文档:https://developer.chrome.com/extensions/devtools


注意:扩展可能在 Chrome 中默认禁用。以下是手动重新启用它的方法(帽子提示@reccanti):

https://support.google.com/chrome_webstore/answer/2811969?hl=en

使用this extension as mentioned in 。我想补充一点,它已被 Chrome 禁用,尽管这里有一种手动 re-enable 的方法: