// If there are multiple launches containing the configuration give priority to the configuration in the current launch
rootForName=launch.workspace;
launchForName=launch;
}else{
returnTPromise.wrapError(newError(launchesContainingName.length===0?nls.localize('noConfigurationNameInWorkspace',"Could not find launch configuration '{0}' in the workspace.",name)
:nls.localize('multipleConfigurationNamesInWorkspace',"There are multiple launch configurations `{0}` in the workspace. Use folder name to qualify the configuration.",name)));
returnTPromise.wrapError(newError(nls.localize('noFolderWithName',"Can not find folder with name '{0}' for configuration '{1}' in compound '{2}'.",configData.folder,configData.name,compound.name)));
constmessage=errorCount>1?nls.localize('preLaunchTaskErrors',"Build errors have been detected during preLaunchTask '{0}'.",resolvedConfig.preLaunchTask):
...
...
@@ -806,7 +807,7 @@ export class DebugService implements debug.IDebugService {