mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 02:02:35 -05:00
Merge from vscode 2b0b9136329c181a9e381463a1f7dc3a2d105a34 (#4880)
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { URI } from 'vs/base/common/uri';
|
||||
import { Event } from 'vs/base/common/event';
|
||||
import { IRemoteConsoleLog } from 'vs/base/common/console';
|
||||
|
||||
export const IExtensionHostDebugService = createDecorator<IExtensionHostDebugService>('extensionHostDebugService');
|
||||
|
||||
export interface IExtensionHostDebugService {
|
||||
_serviceBrand: any;
|
||||
|
||||
reload(resource: URI): void;
|
||||
onReload: Event<URI>;
|
||||
|
||||
close(resource: URI): void;
|
||||
onClose: Event<URI>;
|
||||
|
||||
attachSession(id: string, port: number): void;
|
||||
onAttachSession: Event<{ id: string, port: number }>;
|
||||
|
||||
logToSession(id: string, log: IRemoteConsoleLog): void;
|
||||
onLogToSession: Event<{ id: string, log: IRemoteConsoleLog }>;
|
||||
|
||||
terminateSession(id: string): void;
|
||||
onTerminateSession: Event<string>;
|
||||
}
|
||||
Reference in New Issue
Block a user