Skip to content

Commit

Permalink
Disable automatically starting the EH in inspect mode
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Oct 10, 2019
1 parent 9df03c6 commit 7f87a64
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ export class ExtensionHostProcessWorker implements IExtensionHostStarter {
if (!this._messageProtocol) {
this._messageProtocol = Promise.all([
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 => {
const pipeName = data[0];
const portData = data[1];
Expand Down

0 comments on commit 7f87a64

Please sign in to comment.