From 607a8a9338e7b082ef5f855d2c52c3b0bdd001cf Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Fri, 5 Apr 2013 21:29:47 +0000 Subject: [PATCH] cefclient: Enable DevTools by default. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1181 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- tests/cefclient/cefclient.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/cefclient/cefclient.cpp b/tests/cefclient/cefclient.cpp index 3ea1a5a9c..e41e993c0 100644 --- a/tests/cefclient/cefclient.cpp +++ b/tests/cefclient/cefclient.cpp @@ -62,6 +62,10 @@ void AppGetSettings(CefSettings& settings) { CefString(&settings.cache_path) = g_command_line->GetSwitchValue(cefclient::kCachePath); + + // Specify a port to enable DevTools if one isn't already specified. + if (!g_command_line->HasSwitch("remote-debugging-port")) + settings.remote_debugging_port = 8088; } bool AppIsOffScreenRenderingEnabled() {