Skip to content

Commit

Permalink
expose enableInspectPort in starter type
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Oct 7, 2019
1 parent d82755c commit 2ca0000
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ export class WebWorkerExtensionHostStarter implements IExtensionHostStarter {
return undefined;
}

enableInspectPort(): Promise<boolean> {
return Promise.resolve(false);
}

private async _createExtHostInitData(): Promise<IInitData> {
const [telemetryInfo, extensionDescriptions] = await Promise.all([this._telemetryService.getTelemetryInfo(), this._extensions]);
const workspace = this._contextService.getWorkspace();
Expand Down
1 change: 1 addition & 0 deletions src/vs/workbench/services/extensions/common/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export interface IExtensionHostStarter {

start(): Promise<IMessagePassingProtocol> | null;
getInspectPort(): number | undefined;
enableInspectPort(): Promise<boolean>;
dispose(): void;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ export class RemoteExtensionHostClient extends Disposable implements IExtensionH
return undefined;
}

enableInspectPort(): Promise<boolean> {
return Promise.resolve(false);
}

dispose(): void {
super.dispose();

Expand Down

0 comments on commit 2ca0000

Please sign in to comment.