Skip to content
Permalink
Browse files

Disable automatically starting the EH in inspect mode

  • Loading branch information...
roblourens committed Oct 10, 2019
1 parent 9df03c6 commit 7f87a64621b010ed8a7e171d07583921e8c1e8ac
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/vs/workbench/services/extensions/electron-browser/extensionHost.ts
@@ -127,7 +127,8 @@ export class ExtensionHostProcessWorker implements IExtensionHostStarter {
if (!this._messageProtocol) { if (!this._messageProtocol) {
this._messageProtocol = Promise.all([ this._messageProtocol = Promise.all([
this._tryListenOnPipe(), this._tryListenOnPipe(),
!this._environmentService.args['disable-inspect'] ? this._tryFindDebugPort() : Promise.resolve(null) // !this._environmentService.args['disable-inspect'] ? this._tryFindDebugPort() : Promise.resolve(null)
(this._environmentService.args['inspect-extensions'] || this._environmentService.args['inspect-brk-extensions']) ? this._tryFindDebugPort() : Promise.resolve(null)
]).then(data => { ]).then(data => {
const pipeName = data[0]; const pipeName = data[0];
const portData = data[1]; const portData = data[1];

0 comments on commit 7f87a64

Please sign in to comment.
You can’t perform that action at this time.