File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,12 @@ export class Options {
3333 ? csharpConfig . get < boolean > ( 'omnisharpUsesMono' )
3434 : omnisharpConfig . get < boolean > ( 'useMono' ) ;
3535
36- const loggingLevel = omnisharpConfig . get < string > ( 'loggingLevel' ) ;
36+ // support the legacy "verbose" level as "debug"
37+ let loggingLevel = omnisharpConfig . get < string > ( 'loggingLevel' ) ;
38+ if ( loggingLevel . toLowerCase ( ) === 'verbose' ) {
39+ loggingLevel = 'debug' ;
40+ }
41+
3742 const autoStart = omnisharpConfig . get < boolean > ( 'autoStart' , true ) ;
3843
3944 const projectLoadTimeout = omnisharpConfig . get < number > ( 'projectLoadTimeout' , 60 ) ;
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ export class OmniSharpServer {
243243 '--stdio' ,
244244 'DotNet:enablePackageRestore=false' ,
245245 '--encoding' , 'utf-8' ,
246- '-loglevel' , this . _options . loggingLevel
246+ '-- loglevel' , this . _options . loggingLevel
247247 ] ;
248248
249249 this . _logger . appendLine ( `Starting OmniSharp server at ${ new Date ( ) . toLocaleString ( ) } ` ) ;
You can’t perform that action at this time.
0 commit comments