Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Chrome developer tools disabled

Tags:

My Google Chrome developer tools are disabled. I'm not sure how it happened. I was using them in the morning then went to use them in the afternoon and the F12 button wouldn't do anything. Same with ctrl+shift+i.

If I navigate the 'Tools' menu, I can see the 'developer tools' link, but it is grayed out and disabled. Does anyone have any idea how to re-enable them? I uninstalled/re-installed chrome twice but no help.

like image 725
Mike Avatar asked Nov 01 '13 11:11

Mike


People also ask

How do I enable dev tools in Chrome?

To open the developer console in Google Chrome, open the Chrome Menu in the upper-right-hand corner of the browser window and select More Tools > Developer Tools. You can also use Option + ⌘ + J (on macOS), or Shift + CTRL + J (on Windows/Linux).

Why Developer Tools is not working in Chrome?

Just had the same problem. The window is apparently minimized. On windows, hold the mouse on the chrome icon in the taskbar, when the thumb shows up, right click on it and select maximize window. Solution worked.


2 Answers

Delete the DeveloperToolsDisabled registry key in Software\Policies\Chromium\DeveloperToolsDisabled

http://www.chromium.org/administrators/policy-list-3#DeveloperToolsDisabled

like image 147
davey Avatar answered Sep 28 '22 20:09

davey


I found it named slightly differently (Win7):

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\DeveloperToolsDisabled

I set it to zero and restarted Chrome --> all is well. No idea how it got set.

Update 5/30/2014: This value was set again, there must be some security policy against this flag where I work. I deleted the key completely and will report back if it appears again.

Update 6/13/2014: Definitely we've got a security policy that is setting this key daily. As a workaround I've created a file, "fix_developer_options.reg" with the following contents and put it on my Desktop:

Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome] "DeveloperToolsDisabled"=dword:00000000 

This file, when double-clicked, will automatically make this setting in the registry. After that, you need to restart Chrome to get the change. (One step better would be to have this executed when you log in.)

Update 3/4/2018: In Windows 10 this setting has moved under HKEY_CURRENT_USER as @DGinzberg mentions below in the comments. I found it here on a new computer:

[HKEY_CURRENT_USER\SOFTWARE\Policies\Google\Chrome] 
like image 45
skelliam Avatar answered Sep 28 '22 20:09

skelliam