提交 747310ab 编写于 作者: R Rob Lourens 提交者: GitHub

Merge pull request #31488 from Microsoft/roblou/inspectEH

Enable extensionHost debugging with --inspect
......@@ -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
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册