I am beginner in Chrome extensions development. I need to extend existing extension (angularjs-batarang), but I have some problems with debugging.
manifest.json
has entries:
"background": {
"page": "background.html"
},
"devtools_page": "devtoolsBackground.html"
The question is: how to debug devtools_page
? I added to manifest.json
additional entry
"options_page": "devtoolsBackground.html"
and when I add this extension to Chrome I have possibility to run options
page from chrome://extensions
.
It works because application stops at breakpoints. But unfortunatelly I have no access to chrome.devtools
API. So it is not solution.
How can I debug this and have access to this API?
To open the developer tools for a devtools page, I usually follow the following steps:
<top frame>
" to devtoolsBackground.html
(or whatever name you have chosen for your devtools). (example)chrome.devtools
API.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With