I have a WPF application which uses CEF to display web content. My question is, is there a way to debug the Javascript/Web parts inside a WPF application?
Chrome debug logEnable Chrome debug logging to a file by passing --enable-logging --v=1 command-line flags at startup. Debug builds place the chrome_debug. log file in the out\Debug directory. Release builds place the file in the top level of the user data Chromium app directory, which is OS-version-dependent.
React developer tools for Chrome The React tools allow you to inspect the contents of components. You can also view and edit their properties and state.
You may also use ShowDevTools()
extension method (source)
ChromiumWebBrowser browser = new ChromiumWebBrowser(); browser.ShowDevTools(); // Opens Chrome Developer tools window
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With