Update freshExecArgv comment, fix #116422

This commit is contained in:
Rob Lourens 2021-02-12 09:18:27 -08:00
parent 14669c2e45
commit c83064b982

View file

@ -61,10 +61,7 @@ export class DiskSearch implements ISearchResultProvider {
serverName: 'Search',
timeout,
args: ['--type=searchService'],
// See https://github.com/microsoft/vscode/issues/27665
// Pass in fresh execArgv to the forked process such that it doesn't inherit them from `process.execArgv`.
// e.g. Launching the extension host process with `--inspect-brk=xxx` and then forking a process from the extension host
// results in the forked process inheriting `--inspect-brk=xxx`.
freshExecArgv: true,
env: {
VSCODE_AMD_ENTRYPOINT: 'vs/workbench/services/search/node/searchApp',