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

An error occurs when debugging the vue-basic-api project #748

Open v-ruizh opened 1 year ago

v-ruizh commented 1 year ago

OS: Linux Build Version: 20221011.6

Repro Steps:

  1. Clone https://github.com/alexweininger/vue-basic-api -> Open the project in VS Code.
  2. Open VS Code terminal and run "npm install".
  3. Go to the "Run and Debug" menu -> Select "Azure Static Web Apps…" -> Select "SWA: Run vue-basic-api" -> Click the "Run" button.
  4. Check whether succeeds to debug the vue-basic-api project.

Expect: Succeed to debug the vue-basic-api project without any error.

Actual: An error occurs when debugging the vue-basic-api project. image testoutput.txt

More Info:

  1. This issue does not reproduce on Windows and Mac.
  2. This issue does not reproduce when debugging ReactSite project.
alexweininger commented 1 year ago

Can you verify if this is a regression?

v-ruizh commented 1 year ago

This issue also reproduces with the latest released Static Web Apps extension 0.11.2 installed now. But this issue does not reproduce when we doing the 0.11.2 release testing before. We are not sure if it caused by the Static Web Apps extension build or other related products.

This issue also reproduces when debugging angular and nextjs projects.