-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Unbound breakpoint in VS Code when debugging Blazor WASM hosted app on Ubuntu 20.04 #22673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@gp2-gp2 Have you trusted dev certificates in your environment? This is common culprit for debugging not working. |
@captainsafia yes I did, as stated above I followed 2 different stackoverflow guides as there is no clear process for Linux like you offer for Windows/Mac with |
Thanks for contacting us. |
If the app is working when you visit the https:// URL in the browser then it should be good to go. A couple more things to try:
|
@captainsafia log file is attached in ZIP file. I was not looking before on this console as by default it was showing output from
|
Forgot to add that running under |
This bit here looks a little suspicious. @gregg-miskelly It seems a little strange that the error above would cause the "Unbound breakpoint" issue to happen. I would expect it to not launch the debugging session at all. Have you seen something like this on Linux before? |
This isn't an area that I know anything about. Based on this stackoverflow question it sounds like this is a problem with Chrome. |
@gregg-miskelly Yep. I found the same issue. I was wondering why the Chrome browser would launch in the first place since the StackOverflow issue seemed to indicate that launching Chrome would fail. @gp2-gp2 I'd recommend fixing the Chrome installation on your machine and seeing if that resolves the issue. If it doesn't please request to re-open the issue. For the time being, I'll close this as external. |
Describe the bug
I cannot set a breakpoint when debugging a WASM hosted app on VS Code (Ubuntu 20.04) following the instructions here: https://docs.microsoft.com/en-us/aspnet/core/blazor/debug?view=aspnetcore-3.1
To Reproduce
Expected: Breakpoint resolves
Actual: Unbound breakpoint
Exceptions (if any)
I do not face any exceptions.
Further technical details
dotnet SDK: 3.1.300
VSCode:
Version: 1.45.1
Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a
Date: 2020-05-14T08:27:22.494Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.0-33-generic snap
Developer Certificate is trusted in Linux by following those 2 tutorials:
https://stackoverflow.com/questions/55485511/how-to-run-dotnet-dev-certs-https-trust
https://stackoverflow.com/questions/7580508/getting-chrome-to-accept-self-signed-localhost-certificate
And app is accessed in Chrome by https and port 5001
Exact same project just debugs perfectly under VS Code in Windows 10.
The text was updated successfully, but these errors were encountered: