Skip to content

Debugging ANGULAR project in VSCode not working. #210717

Closed as not planned
Closed as not planned
@mayank594

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.87.2
  • OS Version: Windows 10 Enterprise

Steps to Reproduce:

  1. In launch.json created Launch Chrome against localhost as:

{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url":"https://anonymous.local:3200/Home/Welcome",
"webRoot": "${workspaceFolder}"
}
]
}
The url indicates the login page of the application

  1. Putting breakpoints at the required places in the angular code(ts files)

  2. Selecting "Launch Chrome against localhost" from and start debugging(f5)
    image

  3. Application starts and logged in successfuly, navigate to page where breakpoint will be hitted->
    application hangs and nothing happens, neither the breakpoint is reached, after few minutes of wait the break point is reached and when press f10 or f5 this message appears:
    image

I have to then either reopen or close vscode which ends up everything.

This is really frustrating as it hampers my daily development,
this was working perfectly fine but from last few updates i am seeing this error.

I have tried uninstalling and re installing vs code, also updated to version 1.87.2 but nothing worked.
Please help me out in resolving this on priority.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions