Skip to content

How to: Generate chromium logs

David Risney edited this page Dec 1, 2022 · 2 revisions

You can have host apps generate a chromium log file that may help diagnose issues:

  1. Install and run WebView2Utilities
  2. Select the Overrides tab.
  3. Press the Add New button.
  4. Select the newly added entry in the list.
  5. Change the Host app exe textbox to be the name of the executable file of your host app. For example, OUTLOOK.EXE.
  6. Check the Logging checkbox.
  7. If already running, close your host app.
  8. Restart your host app.
  9. Select the Host Apps tab.
  10. Select the entry of your host app process.
  11. Click the User data folder link to open the user data folder where you can find the chromium.log file.

When the host app creates a WebView2 it should now start generating chromium log files. They should be in the host app's user data folder.

image

image

Clone this wiki locally