Cody Bentson
Cody Bentson

Reputation: 125

Can Chrome Debugger exclude node_modules files?

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?

Upvotes: 6

Views: 4053

Answers (3)

TAHER El Mehdi
TAHER El Mehdi

Reputation: 9263

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

Upvotes: 1

Damian Green
Damian Green

Reputation: 7535

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

Upvotes: 4

Muhammad Assar
Muhammad Assar

Reputation: 689

open the dev tools settings, then the Blackboxing tab

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

Upvotes: 6

Related Questions