Search code examples
javascriptgoogle-chromegoogle-chrome-devtools

Avoid irrelevant files while debugging in Chrome not working


While debugging in Chrome I want to avoid jumping through content scripts and libraries, so I enabled ignoring such files in preferences as per documentation but it doesn't seem to work.

I've tried patterns, "ignore content scripts" checkbox, right-click on the file, etc. Weirdly enough it shows all the files I didn't want to go through, with the message that the file is in the ignore list:

enter image description here

How to effectively ignore those?


Solution

  • It's not the ignore function in general that doesn't work right, its the ignore function you can use with right-clicking on the file in the debugger tab AND the automatic ignoring of Content scripts.

    It works when you add the file manually in the Ignore List in the Settings of the devtools.

    Very annoying indeed and incredible that google is not seeing this.