public async Task StartSessionAsync(Solution solution, CancellationToken cancellationToken) { var newSessionId = await _encService.StartDebuggingSessionAsync( solution, new ManagedHotReloadServiceImpl(_debuggerService), captureMatchingDocuments : ImmutableArray <DocumentId> .Empty, captureAllMatchingDocuments : true, reportDiagnostics : false, cancellationToken).ConfigureAwait(false); Contract.ThrowIfFalse(_sessionId == default, "Session already started"); _sessionId = newSessionId; }