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 {
133
133
return config ;
134
134
} ;
135
135
136
+ let resolvedType = config . type ?? type ;
136
137
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 ) ;
140
141
result = await resolveDebugConfigurationForType ( '*' , result ) ;
142
+ resolvedType = result ?. type ?? type ! ;
141
143
}
142
144
143
145
return result ;
You can’t perform that action at this time.
0 commit comments