Can Firebug set breakpoints in external JavaScript files?

自闭症网瘾萝莉.ら 提交于 2019-12-22 09:45:48

问题


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.



来源:https://stackoverflow.com/questions/579920/can-firebug-set-breakpoints-in-external-javascript-files

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