How to debug chrome devtools panel extension?

前端 未结 2 1843
北海茫月
北海茫月 2020-12-02 22:54

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条回答
  • 2020-12-02 23:30

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

    0 讨论(0)
  • 2020-12-02 23:35

    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.

    0 讨论(0)
提交回复
热议问题