Skip to content

Commit

Permalink
Update freshExecArgv comment, fix microsoft#116422
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Feb 12, 2021
1 parent 14669c2 commit c83064b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c83064b

Please sign in to comment.