I am trying to write Chrome DevTools extension, but I am having some troubles to debug it.
How can I inspect my panel html and debug it's javascript?
I am trying to write Chrome DevTools extension, but I am having some troubles to debug it.
How can I inspect my panel html and debug it's javascript?
If you detach the Dev Tools (icon next to x
in the top right corner) in a separate window, and press Ctrl+Shift+I while Dev Tools window is focused, you will invoke the Dev Tools for the Dev Tools window.
As far as I am aware, it's not possible for a docked configuration.
Found an easy way, just right-click in the Devtools panel, of your extension, and in the popup click on "inspect". it will open another Devtools for the entire Devtools with a focus on your extension panel HTML.
No need to detach the main Devtools.
To me it works with detaching the DevTools and hit CTRL+SHIFT+i (Windows).
For me it works with CMDOPTIONi
Version 104.0.5112.101 (Official Build) (arm64) (Apple m1 silicon)