Skip to content

Commit 2f5f3bc

Browse files
committed
1 parent eabec00 commit 2f5f3bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/services/extensions/electron-browser/extensionHost.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class ExtensionHostProcessWorker implements IExtensionHostStarter {
9292
// handle extension host lifecycle a bit special when we know we are developing an extension that runs inside
9393
this._isExtensionDevHost = this._environmentService.isExtensionDevelopment;
9494
const extDevLoc = this._environmentService.extensionDevelopmentLocationURI;
95-
const debugOk = extDevLoc && extDevLoc.scheme === Schemas.file;
95+
const debugOk = !extDevLoc || extDevLoc.scheme === Schemas.file;
9696
this._isExtensionDevDebug = debugOk && typeof this._environmentService.debugExtensionHost.port === 'number';
9797
this._isExtensionDevDebugBrk = debugOk && !!this._environmentService.debugExtensionHost.break;
9898
this._isExtensionDevTestFromCli = this._isExtensionDevHost && !!this._environmentService.extensionTestsPath && !this._environmentService.debugExtensionHost.break;

0 commit comments

Comments
 (0)