troubleshootingOptions top-level property
Implementation
final List<Option> troubleshootingOptions = [
Option(
name: ['-v', '--version'],
description: 'Print version'
),
Option(
name: '--verbose',
description: 'Print verbose output (implies --wait)'
),
Option(
name: '--log',
description: 'Log level to use. Default is \'info\' when unspecified',
args: [
Arg(
name: 'level',
defaultValue: 'info',
suggestions: [
FigSuggestion(name: 'critical'),
FigSuggestion(name: 'error'),
FigSuggestion(name: 'warn'),
FigSuggestion(name: 'info'),
FigSuggestion(name: 'debug'),
FigSuggestion(name: 'trace'),
FigSuggestion(name: 'off')
]
)
]
),
Option(
name: ['-s', '--status'],
description: 'Print process usage and diagnostics information'
),
Option(
name: '--prof-startup',
description: 'Run CPU profiler during startup'
),
Option(
name: '--disable-extensions',
description: 'Disable all installed extensions'
),
Option(
name: '--disable-extension',
description: 'Disable an extension',
args: [
Arg(
name: 'extension-id'
)
]
),
Option(
name: '--sync',
description: 'Turn sync on or off',
args: [
Arg(
name: 'sync',
description: 'Whether to enable sync',
suggestions: [
FigSuggestion(name: 'on'),
FigSuggestion(name: 'off')
]
)
]
),
Option(
name: '--inspect-extensions',
description: 'Allow debugging and profiling of extensions. Check the developer tools for the connection URI',
args: [
Arg(
name: 'port'
)
]
),
Option(
name: '--inspect-brk-extensions',
description: 'Allow debugging and profiling of extensions with the extension host being paused after start. Check the developer tools for the connection URI',
args: [
Arg(
name: 'port'
)
]
),
Option(
name: '--disable-gpu',
description: 'Disable GPU hardware acceleration'
),
Option(
name: '--max-memory',
description: 'Max memory size for a window (in Mbytes)',
args: [
Arg(
name: 'memory',
description: 'Memory in megabytes'
)
]
),
Option(
name: '--telemetry',
description: 'Shows all telemetry events which VS code collects'
)
];