src/vs/workbench/contrib/debug/browser/debugSession.ts/DebugSession/shutdown
class DebugSession:	private async shutdown(): Promise<void> {
		dispose(this.rawListeners);
		if (this.raw) {
			await this.raw.disconnect({});
			this.raw.dispose();
			this.raw = undefined;
		}
		this.fetchThreadsScheduler = undefined;
		this.model.clearThreads(this.getId(), true);
		this._onDidChangeState.fire();
	}