employeeWithCode
employeeWithCode

Reputation: 77

Is there a way in Chrome Dev tools to not jump through other JavaScript files?

What I'm saying is I'm trying to see how everything is working in a particular file. My problem is even stepping over a particular line or stepping out of a function, it will still take me to a function in a separate javascript file I have (such as jQuery, particular APIs, etc) when I don't care how that works since I know the issue is with my Javascript. Is there some way I can disable jumping through those or ignore seeing them work? Like I kind of said, I only want to see how much code works in one specific file, not how the whole thing compiles and runs altogether.

Upvotes: 3

Views: 583

Answers (1)

Marek Piotrowski
Marek Piotrowski

Reputation: 3076

Open Chrome Developer tools, click 'Settings' in top-right corner: chrome tools settings

Then, select 'Blackboxing' from the menu on the left: blackboxing

And add patterns of all 3rd party libs which you'd like the debugger to skip.

Upvotes: 2

Related Questions