microsoft / microsoft/vscode-python-debugger

Kill all subprocesses when main process is killed

Aberta
#208 2 comentários 7 reações 1 responsável Ver no GitHub

@karthiknadig já está trabalhando nisso.

Desde 8/8/2024.

feature-request needs community feedback
Linguagem predominante
TypeScript
Estrelas
181
Forks
126
Merge médio
2d 3h
PRs com merge (30d)
3

Descrição

vscode: 1.86.1
python: 3.11.5
python-debugger: v2024.1.10371006

When debugging inside part of code with multiple processes (e.g., inside get_item of pytorch dataset), multiple subprocesses are found, and one can switch between those. However, when killing the main process, all other subprocesses are kept alive, and the debugger hangs, waiting for all to be killed or continued.

Adding a feature that kills all subprocesses when the main is killed would be helpful to avoid having to spam the stop button.

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.