Debugging JavaScript events with Firebug

后端 未结 8 1085
情话喂你
情话喂你 2020-12-24 02:31

I need to set a breakpoint to certain event, but I don\'t know, where is it defined, because I\'ve got giant bunch of minimized JavaScript code, so I can\'t find it manually

8条回答
  •  失恋的感觉
    2020-12-24 03:26

    First replace minified jquery or any other source you use with formated. Another useful trick I found is using profiler in firebug. The profiler shows which functions are being executed and you can click on one and go there to set a breakpoint.

提交回复
热议问题