Firebug可以在外部JavaScript文件中设置断点吗? [英] Can Firebug set breakpoints in external JavaScript files?
本文介绍了Firebug可以在外部JavaScript文件中设置断点吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Firebug 中是否有任何方法可以在外部.js文件中设置断点,即页面链接以便它可以逐步通过?
Is there any way in Firebug to set a breakpoint in an external .js file that a page links to so that it can be stepped through?
(我怀疑我在jQuery中发现了一个错误,我希望能够逐步完成jQuery,因为它处理事件到看看它在做什么。)
(I suspect I've found a bug in jQuery and I want to be able to step through jQuery as it's handling events to see what it's doing.)
推荐答案
不确定我是否理解这个问题,但我不认为Firebug对待任何外部JavaScript与内部不同。只需转到脚本选项卡,在下拉列表中选择.js文件并设置断点。
Not sure if I understand the question, but I don't think Firebug treats external javascript any differently than internal one. Just go to the "script" tab, select the .js file in the drop down list and set your breakpoint.
这篇关于Firebug可以在外部JavaScript文件中设置断点吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文