-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[wasm][debugger] Support create, debugging and running wasmbrowser template from VS #75986
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
[wasm][debugger] Support create, debugging and running wasmbrowser template from VS #75986
Conversation
|
Tagging subscribers to this area: @thaystg Issue DetailsScreenRecorderProject1.mp4
|
|
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsScreenRecorderProject1.mp4
|
| "environmentVariables": { | ||
| "ASPNETCORE_ENVIRONMENT": "Development" | ||
| }, | ||
| "applicationUrl": "https://localhost:5001;http://localhost:5000", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use https_port, and http_port here instead of the actual numbers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "type": "generated", | ||
| "generator": "port", | ||
| "parameters": { | ||
| "low": 7000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe not relevant for this PR, but I noticed that the HTTPS didn't have a cert which my browser would trust. On the other hand any ASP.NET project has some dev cert installed. Could we also use it ?
src/mono/wasm/host/BrowserHost.cs
Outdated
| debugging: _args.CommonConfig.Debugging); | ||
| runArgsJson.Save(Path.Combine(_args.CommonConfig.AppPath, "runArgs.json")); | ||
|
|
||
| var urls = new string[] { $"http://127.0.0.1:{_args.CommonConfig.HostProperties.WebServerPort}", "https://127.0.0.1:0" }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use localhost here instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes we can :)
|
Curious to know, might this make it to RC2? Very keen to try this out😎 |
|
/backport to release/7.0 |
|
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3116836063 |
It will be in 7.0 but it missed rc2 |

ScreenRecorderProject1.mp4