debug: fill in selected configuration by name if not provided
Fixes #118472
This commit is contained in:
parent
78cb4cfc32
commit
7e6d4c5eb9
1 changed files with 4 additions and 0 deletions
|
@ -374,6 +374,10 @@ export class ConfigurationManager implements IConfigurationManager {
|
|||
let type = config?.type;
|
||||
if (name && names.indexOf(name) >= 0) {
|
||||
this.setSelectedLaunchName(name);
|
||||
if (!config && name && launch) {
|
||||
config = launch.getConfiguration(name);
|
||||
type = config?.type;
|
||||
}
|
||||
} else if (dynamicConfig && dynamicConfig.type) {
|
||||
// We could not find the previously used name and config is not passed. We should get all dynamic configurations from providers
|
||||
// And potentially auto select the previously used dynamic configuration #96293
|
||||
|
|
Loading…
Reference in a new issue