1

下载了萤火虫并喜欢它。

但是有一个问题:您可以使用 firebug 查看/调试在 .js 文件(即 html、cshtml 等)中找不到的脚本吗?

1)。如果我在浏览器页面上查看源代码,我会看到我的 javascript(运行良好)

2)。从萤火虫, html 选项卡只显示 html

3)。在 firebug 中,脚本选项卡只显示 .js 文件。

我必须缺少一些基本的东西......我希望能够设置断点等......但只能在 .js 文件中找到脚本。

所有建议表示赞赏。

4

1 回答 1

0

I have always been able to find the inline scripts in the Script panel.

A workaround would be, if you have access to the script, to write a "debugger;" statement there to force Firebug to halt where you want.

于 2013-03-17T03:54:40.887 回答