I'm making a Chrome Extension and need to view the HTML/CSS/JS of the popup.html
.
I can't right click to inspect elements. Is there another way? I need to make sure CSS and JavaScript is being inserted correctly. How to debug a problem in that popup file?
If you navigate back to chrome://extensions/ , you should see errors have popped up for the extension locally.
Right click the extension's button, then 'Inspect Popup'
Inspect Popup has gone away with the latest build.
Here's how I debug Chrome Extension Popups.
debugger
statements.location.reload(true)
and press enter.Now your breakpoints are hit! Great way to reload changed scripts without revisiting the Extension page.
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