-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Blazor Desktop dev tools enablement #2542
Comments
Thanks for contacting us. |
Some details on what I think this work entails:
|
I think we need a few things here:
|
I think focusing this issue on using browser dev tools is all we need to focus on here. Once that works, I think everything else can work. That's all the WebView components can do anyway, and I think all other tools plug into the same system. |
I agree, but would we want something like F5 and setting a breakpoint in JS in Visual Studio to work? That requires VS to attach the debugger (through the dev tools in chrome for example) |
But with Blazor why would you want to set a breakpoint in JS code?? Just kidding, yeah, that sounds reasonable. But probably less important than F12 tools working. |
I think this can be enabled in parallel. We already are able to do this for Android Emulator (edge://devices/inspect) so VS should be able to connect to it too. |
Some docs from Mobile Blazor Bindings in case it helps: https://docs.microsoft.com/mobile-blazor-bindings/advanced/debug-hybrid-apps |
This seems related to: and |
WRT to iOS simulator there is nothing to do/configure. These are the steps I followed to debug on the iOS simulator:
|
Doesn't work in Mac Catalyst apps: #5022 |
Check that the debugging experience of content in the WebView works as expected on each platform
Can attach VS debugger (VS Win, VS Mac, VS Code)DoneCan use browser-based debugger from Edge, Chrome, Safari on each platformDone (Open dev tools by focusing inside the webview and pressing ctrl+shift+i or cmd+shift+i)The text was updated successfully, but these errors were encountered: