microsoft / microsoft/vscode-python-debugger

Kill all subprocesses when main process is killed

Offen
#208 2 Kommentare 7 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@karthiknadig arbeitet bereits daran.

Seit 08.8.2024.

feature-request needs community feedback
Vorherrschende Sprache
TypeScript
Sterne
181
Forks
126
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
3

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.