DEV Community

Discussion on: Stop Console.Logging! This is How to Use Chrome to Debug JavaScript

guyinpv profile image

One of the problems I have debugging in the browser is how to skip stepping into other files. If I want to debug only a particular script, I don't want to have to step out into jQuery files and every other random JS file loaded, if I'm just trying to tshoot one file.

I know there is a way to ignore some files, or maybe that was another browser, or another time? Last few times I tried to find a way to ignore certain files when stepping through code, I couldn't find it in Chrome.

songthamtung profile image
songthamtung Author

Thanks for reading Zack!

I encounter the same issue and what I typically do is to place breakpoints in the relevant code and press 'play' if it gets into random JS files.