How to debug chrome devtools panel extension?

2019-01-11 03:06发布

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?

2条回答
霸刀☆藐视天下
2楼-- · 2019-01-11 03:28

To me it works with detaching the DevTools and hit CTRL+SHIFT+i (Windows).

查看更多
beautiful°
3楼-- · 2019-01-11 03:38

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.

查看更多
登录 后发表回答