microsoft / microsoft/vscode-js-debug

Debugger brakes rapidly on app load

Open
#597 28 comments 18 reactions 1 assignee View on GitHub

@connor4312 is already working on this.

Since Jul 14, 2020.

upstream
Dominant language
TypeScript
Stars
2k
Forks
373
Avg merge
1d 9m
Merged PRs (30d)
6

Description

Describe the bug
I installed the latest version of vscode today (with the new debugger) and since then every time I run the app the debugger brakes and continues rapidly until the app loads (see attached gif).

(lunching the app from chrome directly will not cause that issue)

About the setup:
I am running Angular 8.2.3
with chrome dev tools open:

"name": "Chrome qdev",
"type": "chrome",
"request": "launch",
"port": 9876,
"url": "http://localhost.<URL>:4200",
"runtimeArgs": [
                "--auto-open-devtools-for-tabs"
],
"sourceMaps": true,
"smartStep": true,
"skipFiles": [
                "node_modules/*"
],
...

I also tried to see if adding remote-debugging-port=9876 makes any difference, and it didn't.

Log File
I noticed there are a lot of calls to Debugger.resumed in the log, but I am not sure what's causing it and how to continue from here.
vscode-debugadapter-1.json.gz

VS Code Version: 1.47

Additional context
OS: windows 10
I am using HMR but I also tried without it, go similar results.

vs-bug

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.