Skip to content

Commit 8ada754

Browse files
committed
Add enable-logging command line argument example
1 parent 2cd49a2 commit 8ada754

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CefSharp.Example/CefExample.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ public static void Init(bool osr, bool multiThreadedMessageLoop)
5555
//settings.CefCommandLineArgs.Add("enable-system-flash", "1"); //Automatically discovered and load a system-wide installation of Pepper Flash.
5656
//settings.CefCommandLineArgs.Add("allow-running-insecure-content", "1"); //By default, an https page cannot run JavaScript, CSS or plugins from http URLs. This provides an override to get the old insecure behavior. Only available in 47 and above.
5757

58+
//settings.CefCommandLineArgs.Add("enable-logging", "1"); //Enable Logging for the Renderer process (will open with a cmd prompt and output debug messages - use in conjunction with setting LogSeverity = LogSeverity.Verbose;)
59+
//settings.LogSeverity = LogSeverity.Verbose; // Needed for enable-logging to output messages
60+
5861
//settings.CefCommandLineArgs.Add("disable-extensions", "1"); //Extension support can be disabled
5962
//settings.CefCommandLineArgs.Add("disable-pdf-extension", "1"); //The PDF extension specifically can be disabled
6063

0 commit comments

Comments
 (0)