How to ignore certain script files / lines when debugging?

前端 未结 6 1312
南方客
南方客 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:34

    You can use JavaScript Deobfuscator extension in Firefox: https://addons.mozilla.org/addon/javascript-deobfuscator/. It uses the same debugging API as Firebug but presents the results differently.

    In the "Executed scripts" tab it will show you all code that is running. If some unrelated code is executing as well it is usually easy enough to skip. But you can also tweak the default filters to limit the amount of code being displayed.

提交回复
热议问题