Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop Debugging doesn't cause the host task to stop #2091

Closed
v-ruizh opened this issue May 13, 2020 · 1 comment
Closed

Stop Debugging doesn't cause the host task to stop #2091

v-ruizh opened this issue May 13, 2020 · 1 comment
Labels
AT-CTI Created by CTI team wontfix

Comments

@v-ruizh
Copy link

v-ruizh commented May 13, 2020

OS: Win10
Build Version: 20200513.5

Repro Steps:

  1. Open a function project in VS Code.
  2. Debug it, then stop debugging immediately.

Expect:
The host task is stopped.

Actual:
Stop Debugging doesn't cause the host task to stop.

@v-ruizh v-ruizh added the AT-CTI Created by CTI team label May 13, 2020
@ejizba
Copy link
Contributor

ejizba commented May 13, 2020

I see how this is annoying, but going to close as "wont-fix" for a variety of reasons:

  1. There's risk involved if we add custom logic to stop tasks. VS Code or the func cli or something doesn't handle it well and we run into problems like VS Code instance freezes after terminating vscode debugging session on javascript HttpTrigger function #1401
  2. There's an easy workaround - users can click the trash can icon to stop the task
  3. We're consistent with standard VS Code behavior here. For example, if I do "Launch Extension (webpack)" from our repo, the webpack task (which takes an annoyingly long time) keeps going even if I stop debugging. I have to stop it manually. In that sense this issue could even be "upstream" instead of "wont fix"

@ejizba ejizba closed this as completed May 13, 2020
@ejizba ejizba added the wontfix label May 13, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AT-CTI Created by CTI team wontfix
Projects
None yet
Development

No branches or pull requests

2 participants