src/vs/workbench/contrib/debug/browser/debugConfigurationManager.ts/ConfigurationManager/getWorkspaceLaunch
class ConfigurationManager:	getWorkspaceLaunch(): ILaunch | undefined {
		if (this.contextService.getWorkbenchState() === WorkbenchState.WORKSPACE) {
			return this.launches[this.launches.length - 1];
		}

		return undefined;
	}