microsoft / vscode-azurestaticwebapps

Azure Static Web Apps extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestaticwebapps
MIT License
86 stars 33 forks source link

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

Open v-mengwe opened 2 years ago

v-mengwe commented 2 years ago

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
alexweininger commented 2 years ago

We should check if this reproduces on Intel-based macs or Windows