Skip to content

Kill all subprocesses when main process is killed #208

@apanariello4

Description

@apanariello4

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions