src/vs/workbench/contrib/debug/browser/rawDebugSession.ts/RawDebugSession/stopAdapter
class RawDebugSession:	private async stopAdapter(error?: Error): Promise<any> {
		try {
			if (this.debugAdapter) {
				const da = this.debugAdapter;
				this.debugAdapter = null;
				await da.stopSession();
				this.debugAdapterStopped = true;
			}
		} finally {
			this.fireAdapterExitEvent(error);
		}
	}