File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/vs/workbench/contrib/debug/browser Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -133,11 +133,13 @@ export class ConfigurationManager implements IConfigurationManager {
133133 return config ;
134134 } ;
135135
136+ let resolvedType = config . type ?? type ;
136137 let result : IConfig | null | undefined = config ;
137- for ( let seen = new Set ( ) ; result && ! seen . has ( result . type ) ; ) {
138- seen . add ( result ?. type ) ;
139- result = await resolveDebugConfigurationForType ( result . type , result ) ;
138+ for ( let seen = new Set ( ) ; result && ! seen . has ( resolvedType ) ; ) {
139+ seen . add ( resolvedType ) ;
140+ result = await resolveDebugConfigurationForType ( resolvedType , result ) ;
140141 result = await resolveDebugConfigurationForType ( '*' , result ) ;
142+ resolvedType = result ?. type ?? type ! ;
141143 }
142144
143145 return result ;
You can’t perform that action at this time.
0 commit comments