I am using a WebView2 control in an UWP application to render an online webpage. I want to open the DevTools for the debug purpose, but I can’t.
I tried several ways to open DevTools but failed.
- Press F12
- Press Ctrl+Shift+I.
- Right-click the page and then select Inspect
- use the OpenDevToolsWindow API
I also tried WPF application, it’s ok to open DevTools, only UWP application can’t. Is there a reason for this?
Thanks for your future answer.