Create a basic Blazor App, I'm trying to debug the main/start method of my app. Mainly to check the objects I'm injecting and primarily getting the configurations from appsettings.json.
I've also added the in lauchSettings.json the json setting for browser debug but no success.
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}"
I've checked on google but not many solution in relation to the Program.Main() breakpoints. Any suggestions?
public class Program
{
public static async Task Main(string[] args)
{
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.Services.AddTransient(sp => new HttpClient { BaseAddress = new Uri("https://localhost:5001/") });
builder.Services.AddScoped<DashboardDataService>();
builder.Services.AddScoped<TrTradingSignalBotApiService>();
builder.Services.AddTelerikBlazor();
await builder.Build().RunAsync();
}
}