Unable to debug Blazor hosted webassembly 3.2.0 from Visual Studio 2019 16.6.2

后端 未结 5 1313
迷失自我
迷失自我 2021-01-04 12:00

I have Visual Studio 2019 16.6.2 installed, along with the .NET Core 3.1.301 SDK and all the necessary Blazor templates.

If I create a brand new Blazor WebAssmbly app

5条回答
  •  [愿得一人]
    2021-01-04 12:15

    The problem for me occurs if I select the Configure For HTTPS option when creating the project.


    As a workaround,

    1. for an HTTPS configured project changing is settings-sslport, to 0
    2. applicationUrl to only http://localhost:port in launchsettings.json

    I think the debug adapter has an underlying security related problem. Good luck!

提交回复
热议问题