Can Firebug set breakpoints in external JavaScript files?

匿名 (未验证) 提交于 2019-12-03 08:48:34

问题:

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?

(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.)

回答1:

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.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!