How to debug chrome manifest.json?

I am working on a chrome.bluetooth application. However, something is wrong with manifest.json. However, I see no way to set a breakpoint in manifest.json - obviously this is declarative.

My manifest is .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 } } 

Is there any way to debug manifest.json? That is, to see how and where it may give incorrect values โ€‹โ€‹for various ads. Linter? Anything?

I tried this on stable (42) and canary (44) builds of chrome on Mac OSX and ChromeOS and don't see an obvious solution.

+5
source share
1 answer

Late answer, I know, but for future reference. Check out this page in Chrome Dev Tools for debugging PWA. It says that on the Application tab of dev tools you can select the Manifest option.

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

0
source

All Articles