Can Chrome Debugger exclude node_modules files?
Asked Answered
S

3

6

I am debugging through an Angular 5 application in the Chrome Debugger. Skipping through the core.js, zone.js and observable files can become cumbersome. Are there any fancy tips or tricks for excluding those files from my debugging?

Spit answered 8/6, 2018 at 1:19 Comment(2)
this works: stackoverflow.com/questions/42753631Ranita
developer.chrome.com/docs/devtools/settings/ignore-listNadya
M
6

open the dev tools settings, then the Blackboxing tab

then enter a pattern to match the files you need to ignore

Moton answered 27/1, 2019 at 5:32 Comment(0)
F
4

The Blackboxing tab has now been renamed in the latest Chrome and can be found by Pressing F1

The Ignore list tab: enter image description here

You may try a pattern of webpack:///./node_modules

Ferebee answered 26/7, 2021 at 19:31 Comment(2)
This doesn't work for meMasse
The pattern is a regex. So, this worked for me: .*node_modules.*Seigel
C
1

Now with the latest version of chrome, On Developer Tools > Settings (Cog Icon ⚙️) > Ignore List, node_modules files already ignored by default:

enter image description here

Colostomy answered 1/12, 2023 at 20:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.