How to ignore certain script files / lines when debugging?

前端 未结 6 1302
南方客
南方客 2020-12-31 11:56

I\'m trying to debug some JavaScript, I want to find out what code gets executed when I hover over a certain div element (I\'ve got no idea which bit of code, because there\

6条回答
  •  春和景丽
    2020-12-31 12:53

    In FireFox this feature is called "Black boxing" and will be available with FireFox 25. It let's do exactly what you where looking for.

    This feature was also introduced to Chrome (v30+) although it's tougher to find/configure. It's called "skip through sources with particular names" and Collin Miller did an excellent job in describing how to configure it.

    Normally I'm for putting answers and howtos here instead of links but it would just end in me copying Collin's post.

提交回复
热议问题