terminateOnVmServiceClose property

bool terminateOnVmServiceClose

Whether the VM Service closing should be used as a signal to terminate the debug session.

It is generally better to handle termination when the debuggee terminates instead, since this ensures the stdout/stderr streams have been drained. However, that's not possible in some cases (for example 'runInTerminal' or attaching), so this is the only signal we have.

It is up to the subclass DA to provide this value correctly based on whether it will call handleSessionTerminate itself upon process termination.

Implementation

bool get terminateOnVmServiceClose;