如何调试chrome manifest.json?

Dav*_*son 6 google-chrome manifest bluetooth-lowenergy

我正在开发chrome.bluetooth应用程序.但是,manifest.json有问题.但是,我没有看到在manifest.json中设置断点的任何方法 - 显然,它是声明性的.

我的manifest.json是:

{
  "name": "Bluetooth Low Energy Test App",
  "description": "App testing the chrome.bluetoothLowEnergy API",
  "version": "0.1",
  "app": {
    "background": {
      "scripts": ["background.js"]
    }
  },
  "bluetooth": {
    "low_energy": true
  }
}
Run Code Online (Sandbox Code Playgroud)

有没有办法调试manifest.json?也就是说,看看它为各种声明提供错误值的方式或位置.一个短绒?什么?

我在Mac OSX和ChromeOS上尝试使用稳定(42)和canary(44)版本的chrome,但没有看到明显的解决方案.

Ale*_*son 0

迟到的答案,我知道,但供将来参考。查看 Chrome 开发工具上有关调试 PWA 的页面。它说在开发工具的“应用程序”选项卡中,您可以选择“清单”选项。

https://developers.google.com/web/tools/chrome-devtools/progressive-web-apps#manifest