private async Task <bool> HotReloadShouldBeEnabledAsync(ILaunchProfile resolvedProfile, DebugLaunchOptions launchOptions) { bool hotReloadEnabledAtProjectLevel = IsRunProjectCommand(resolvedProfile) && resolvedProfile.IsHotReloadEnabled() && !resolvedProfile.IsRemoteDebugEnabled() && (launchOptions & DebugLaunchOptions.Profiling) != DebugLaunchOptions.Profiling; if (hotReloadEnabledAtProjectLevel) { bool debugging = (launchOptions & DebugLaunchOptions.NoDebug) != DebugLaunchOptions.NoDebug; bool hotReloadEnabledGlobally = await _debuggerSettings.Value.IsHotReloadEnabledAsync(debugging, default); return(hotReloadEnabledGlobally); } return(false); }