Open
Description
On disconnection, DAP kills all pids:
sdk/pkg/dds/lib/src/dap/adapters/mixins.dart
Lines 41 to 47 in 7685ec3
However, this set of pids contains the VM pid, which defaults to-1
if it was not set:
sdk/pkg/vm_service/lib/src/vm_service.dart
Line 8570 in 7685ec3
On Linux, killing -1
is a special case that means "kill all the process that you can." We had a case where this was killing a bunch of running processes on a users machine.