microsoft / microsoft/vscode-azurestaticwebapps

Fail to debug the `angular-basic-dotnet` project with an error on M1

Open
#701 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AT-CTI bug debugging
Dominant language
TypeScript
Stars
99
Forks
39
Avg merge
3d 7h
Merged PRs (30d)
2

Description

OS: M1
Azure Resource Extension Build Version: 20220523.7
Azure Static Web App Extension Build Version: 20220523.7
Azure Function Extension Build Version: 20220524.1

Repro Steps:

  1. Open the angular-basic-dotnet project in VS Code -> Restore.
  2. Type npm install in TERMINAL window.
  3. Navigate to "Run and Debug" view -> Select "Azure Static Web Apps…" in the dropdown list -> Select "SWA: Run angular-basic-dotnet" -> Debug.
  4. Check whether succeeds to debug without any error.

Expect:
Succeed to debug without any error.

Actual:

  1. Fail to debug with an error.
    Screen Shot 2022-05-24 at 18 02 34
  2. Pop up an incorrect browser window automatically.
Screen Shot 2022-05-24 at 18 02 47

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Reproduce the failure on an M1 using the listed extension build versions and the angular-basic-dotnet project. Start from the VS Code Run and Debug flow for “SWA: Run angular-basic-dotnet” and inspect the launch behavior and browser selection. Done means debugging starts without an error and opens the correct browser window.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, azure, typescript, vscode
Domain
cloud, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.