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?

2

3 Answers 3

6

open the dev tools settings, then the Blackboxing tab

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

Sign up to request clarification or add additional context in comments.

Comments

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

2 Comments

This doesn't work for me
The pattern is a regex. So, this worked for me: .*node_modules.*
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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.