Reputation: 71
I tried the command:
chrome.exe --always-enable-dev-tools
but it doesn't exist: http://codesearch.google.com/codesearch#OAMlx_jo-ck/src/chrome/common/chrome_switches.cc&l=50
Do you have another solution?
Upvotes: 2
Views: 753
Reputation: 71
I edited the source of "browser_navigator.cc". Now I have the devtools each new tab or window.
How: edit the source file browser_navigator.cc
include
#include "chrome/browser/debugger/devtools_toggle_action.h"
#include "chrome/browser/debugger/devtools_window.h"
#include "content/public/browser/devtools_manager.h"
and after
LoadURLInContents(params->target_contents->tab_contents(),url, params, extra_headers);
I add
DevToolsWindow::ToggleDevToolsWindow(params->target_contents->tab_contents()->GetRenderViewHost(),DEVTOOLS_TOGGLE_ACTION_NONE);
and make :)
Upvotes: 5
Reputation: 479
Refer the link below for chrome Devtools:
http://code.google.com/chrome/devtools/docs/overview.html
http://google-chrome-browser.com/tags/devtools
Upvotes: 0