Created
December 8, 2011 19:22
-
-
Save ewencp/1448148 to your computer and use it in GitHub Desktop.
Enable dev tools in berkelium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/Root.cpp b/src/Root.cpp | |
| index 37f9833..13d161e 100644 | |
| --- a/src/Root.cpp | |
| +++ b/src/Root.cpp | |
| @@ -469,6 +469,12 @@ bool Root::init(FileString homeDirectory, FileString subprocessDirectory) { | |
| g_browser_process->resource_dispatcher_host()); | |
| mDefaultRequestContext=mProf->GetRequestContext(); | |
| + | |
| + g_browser_process->InitDevToolsHttpProtocolHandler( | |
| + "127.0.0.1", | |
| + (int)9222, | |
| + ""); | |
| + | |
| return true; | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment