Skip to content

Commit

Permalink
Command line error - "Option 'proxy-server' is unknown. Ignoring.". F…
Browse files Browse the repository at this point in the history
…ixes #82253
  • Loading branch information
aeschli committed Oct 14, 2019
1 parent 21ec3bc commit b9dc1ce
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/vs/platform/environment/common/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@ export interface ParsedArgs {
'force'?: boolean;
'force-user-env'?: boolean;

// node flags
// chromium command line args: https://electronjs.org/docs/all#supported-chrome-command-line-switches
'no-proxy-server'?: boolean;
'proxy-server'?: string;
'proxy-bypass-list'?: string;
'proxy-pac-url'?: string;
'inspect'?: string;
'inspect-brk'?: string;
'js-flags'?: string;
'disable-gpu'?: boolean;
'nolazy'?: boolean;
Expand Down
7 changes: 7 additions & 0 deletions src/vs/platform/environment/node/argv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,14 @@ export const OPTIONS: OptionDescriptions<Required<ParsedArgs>> = {
'disable-inspect': { type: 'boolean' },
'force-user-env': { type: 'boolean' },

// chromium flags
'no-proxy-server': { type: 'boolean' },
'proxy-server': { type: 'string' },
'proxy-bypass-list': { type: 'string' },
'proxy-pac-url': { type: 'string' },
'js-flags': { type: 'string' }, // chrome js flags
'inspect': { type: 'string' },
'inspect-brk': { type: 'string' },
'nolazy': { type: 'boolean' }, // node inspect
'_urls': { type: 'string[]' },

Expand Down

0 comments on commit b9dc1ce

Please sign in to comment.