如何调试 chrome devtools 面板扩展? [英] How to debug chrome devtools panel extension?

查看:25
本文介绍了如何调试 chrome devtools 面板扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编写 Chrome DevTools 扩展程序,但在调试时遇到了一些麻烦.

I am trying to write Chrome DevTools extension, but I am having some troubles to debug it.

如何检查我的面板 html 并调试它的 javascript?

How can I inspect my panel html and debug it's javascript?

推荐答案

如果您在单独的窗口中分离开发工具(右上角 x 旁边的图标),然后按 Ctrl+Shift+I 当 Dev Tools 窗口处于焦点时,您将为 Dev Tools 窗口调用 Dev Tools.

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.

这篇关于如何调试 chrome devtools 面板扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆