Within chrome debugger, during a React Native debugging session, I can ignore individual files by right-clicking in the Source file editor and selecting Add script to ignore list
. Not an optimal solution.
I know that I can exclude folders using a pattern in the Framework Ignore List (Settings > Ignore List). Not being regex-savvy, I looked for an existing example without success. Can someone provide a tested example of how to ignore all libraries not related to the project source code, specifically the /node_modules
folder?
A simple solution would be to ignore every file which contains /node_modules/
in its path. You can do this with the pattern .*\/node_modules\/.*
.