SkipFiles does not work in Chrome attach mode
See original GitHub issueDescribe the bug The same skipFiles configuration, which works in launch mode, does not work in attach mode.
To Reproduce
- Create following configurations:
{
"name": "Chrome",
"type": "pwa-chrome",
"request": "launch",
"url": "http://localhost:1234",
"skipFiles": [
"${workspaceRoot}/node_modules/**/*.js",
],
"trace": true
},
{
"type": "pwa-chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"skipFiles": [
"${workspaceRoot}/node_modules/**/*.js",
],
"trace": true
},
- Run Attach to Chrome configuration.
Actual result: node_modules are not skipped
Expected result (as in launch Chrome configuration above)
Log File
From Attach to Chrome: https://drive.google.com/file/d/1x42XTf8bXffw8Mo_JzTQYrEAVWLHBEh1/view?usp=sharing
From launch Chrome: https://drive.google.com/file/d/1B3DawKmbpmzaypoOOx4PpavaO1TOcXUG/view?usp=sharing
VS Code Version: Version: 1.47.0 (system setup) Commit: d5e9aa0227e057a60c82568bf31c04730dc15dcd Date: 2020-07-09T08:02:06.629Z Electron: 7.3.2 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Windows_NT x64 10.0.18362
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8 (5 by maintainers)
Top Results From Across the Web
How do I skip external code when debugging in VS Code
In your launch or attach debug task you can enter a. "skipfiles". option which is. "An array of file or folder names, or...
Read more >Debug Node.js Apps using Visual Studio Code
In smart Auto Attach mode, VS Code will try to attach to your code, and not attach to build tools you aren't interested...
Read more >Debugger for Chrome - Open VSX Registry
You can use the skipFiles property to ignore/blackbox specific files while debugging. For example, if you set "skipFiles": ["jquery.js"] , then you will...
Read more >nextjs - # - debugging - # - vscode - # - devtools
In the browser at least it was working but then Node.js came and it ... is not at the root of your VSCode...
Read more >https://raw.githubusercontent.com/Microsoft/vscode...
**Note**: Active development for Chrome debugging in VS Code is happening in ... com/microsoft/vscode/issues/68127) * Fix slow attach when files don't exist ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good to hear!
Because that was a less common and relatively minor issue (+ also involving a refactoring which carries some danger) I do not intend to ship that in a June recovery release. So this won’t go out to VS Code stable users until the July release, in early August. It will be on Insiders earlier, probably starting tomorrow.
@egorshulga does this happen in the nightly build? I’m wondering if you’re hitting the same issue that Mike hit in https://github.com/microsoft/vscode/issues/102412#issuecomment-658301904