How prevent a debugger (Firebug or PhpStorm in this case) from step in jQuery and its plugins source code and just step over our own code?
2 Answers
5
votes
JavaScript debuggers have no way to determine the difference between your code and someone else's code. You're best option is to either set breakpoints before & after the blocks of code you want to skip (say a jQuery selector) so you can use the debuggers Continue feature to skip that external code.
Alternatively you can use the debugger statement to programmatically stop at points in the code.