Google Chrome developer tools disabled

只谈情不闲聊 提交于 2019-11-28 06:56:44

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

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

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]

check policies - type chrome://policy/ in url bar. if DeveloperToolsDisabled is set to true, update the registry entry

Found another issue with the Dev Tools not opening/ working

If the Block access to a list of URLs Enabled and "file", "" is in it or file:// is not in the whitlist of url, the DEV Tools wont open either :)

Maybe that helps someone

Open regedit (Registry Editor) and find the DeveloperToolsAvailability key by first going to this path:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\

... then click Chrome and select DeveloperToolsAvailability from the list on the right. Double click it and change it from 2 to either 1 or 0. Click OK and close regedit, then close Chrome and re-open it. Chrome dev tools should now be enabled.

However, depending on your system, you may instead have the DeveloperToolsDisabled key in that same path. If so, delete that.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!