microsoft / microsoft/vscode-azurestaticwebapps

There is an extra log in the `start vue-basic-api` terminal after closing the opened webpage

Open
#689 2 comments 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/Linux
Build Version: 20220513.1
CLI Version: 1.0.0-preview

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. Close the opened webpage.
  5. Check whether there is no extra log in the start vue-basic-api terminal.

Expect:
There is no extra log in the start vue-basic-api terminal.

Actual:
There is an extra log in the start vue-basic-api terminal.
Screen Shot 2022-05-13 at 17 20 25

More Info:

  1. This issue doesn't reproduce on Windows OS.
  2. This issue also reproduces for below projects:
    https://github.com/staticwebdev/angular-basic
    https://github.com/alexweininger/angular-basic-api
    https://github.com/alexweininger/nextjs-basic-api
    https://github.com/alexweininger/svelte-basic-api
    https://github.com/alexweininger/angular-basic-dotnet
  3. This issue doesn't reproduce for the ReactSite project.
    https://github.com/alexweininger/ReactSite

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 extra terminal log by running the documented SWA: Run vue-basic-api flow on M1/Linux, then closing the opened webpage; compare it with Windows and the ReactSite case. Trace the VS Code extension's Run and Debug launch and shutdown behavior, and consider the issue done when the affected projects produce no extra log after the webpage closes.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.