Merge pull request #31488 from Microsoft/roblou/inspectEH

Enable extensionHost debugging with --inspect
This commit is contained in:
Rob Lourens
2017-08-12 17:44:26 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ const nodeModules = ['electron', 'original-fs']
// Build
const builtInExtensions = [
{ name: 'ms-vscode.node-debug', version: '1.16.0' },
{ name: 'ms-vscode.node-debug2', version: '1.15.5' }
{ name: 'ms-vscode.node-debug', version: '1.16.1' },
{ name: 'ms-vscode.node-debug2', version: '1.16.0' }
];
const excludedExtensions = [
@@ -144,7 +144,7 @@ export class ExtensionHostProcessWorker {
// (i.e. extension host) is taken down in a brutal fashion by the OS
detached: !!isWindows,
execArgv: port
? ['--nolazy', (this.isExtensionDevelopmentDebugBrk ? '--debug-brk=' : '--debug=') + port]
? ['--nolazy', (this.isExtensionDevelopmentDebugBrk ? '--inspect-brk=' : '--inspect=') + port]
: undefined,
silent: true
};