简体   繁体   中英

Javascript - Ignore 3rd party libraries when debugging?

Is there anyway to ignore 3rd party javascript when debugging?

I use lots of 3rd party libraries in my javascript code, and would like to completely ignore them when debugging. Why? Because I'd prefer to assume that they work as intended, and stepping into their code (or having to navigate the call stack for their functions) isn't necessary 99% of the time - most of the time the code I want to debug is my own code - not theirs!

I specifically am using Chrome most of the time when debugging, but am totally willing to switch to something else if this capability was available!

@machineghost的评论使在StackOverflow上得到了这个答案 ,其中详细介绍了如何在Chrome中执行此操作:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM