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?
Can Chrome Debugger exclude node_modules files?
Asked Answered
this works: stackoverflow.com/questions/42753631 –
Ranita
developer.chrome.com/docs/devtools/settings/ignore-list –
Nadya
open the dev tools settings, then the Blackboxing tab
then enter a pattern to match the files you need to ignore
The Blackboxing tab has now been renamed in the latest Chrome and can be found by Pressing F1
You may try a pattern of webpack:///./node_modules
This doesn't work for me –
Masse
The pattern is a regex. So, this worked for me:
.*node_modules.*
–
Seigel Now with the latest version of chrome, On Developer Tools > Settings (Cog Icon ⚙️) > Ignore List, node_modules files already ignored by default:
© 2022 - 2024 — McMap. All rights reserved.