Search code examples
google-chromedeveloper-tools

Developer tools getting disabled


I am on Version 45.0.2454.101 m and for some reason dev tools option is getting disabled.


I reinstalled chrome 3 times, no luck.


I tried to delete the registry file based on this answer Google chrome develop tools disabled

I do not see chromium under policy folder :(.

I searched the user data --> Default --> Preferences folder to see if I can delete the devtools reference, nothing helped :(

Update: Based on lossleader's comment I checked chrome://policy and I see devtools is disabled, how should i enable or set this to false

enter image description here

Please help

enter image description here

enter image description here

enter image description here

UPDATE : 10/13/2015 My preference file as of today, still dev console is disabled:

enter image description here

10/16/2015 I do not see anything under group policy object too

enter image description here


Solution

  • 1 - Close Chrome
    2 - Open the file:

    C:\users\[your users account]\AppData\Local\Google\Chrome\User Data\Default\Preferences
    

    3 - SEARCH FOR:

    "devtools": {
    something...
    "disabled": true,
    something...
    },
    

    4 - CHANGE TO:

    "devtools": {
    something...
    "disabled": false,
    something...
    },
    

    5 - Restart Chrome.


    DISABLED:
    enter image description here

    ENABLED:
    enter image description here


    NOTES
    1 - If you cannot find "disabled": true, just add the value "disabled": false, under devtools. 2 - You may want to copy the contents of the file to http://jsonlint.com/ in order to read properly.
    3 - Backup the Original file (just in case)
    4 - I've tested enabling and disabling devtools and it works as expected.
    5 - If the problem persists, you may want to disable your extensions in order to ensure they aren't messing with your preferences. The same applies to antivirus.


    UPDATE

    notepad ++ complaints saying the source file has been modified by another program

    This is normal, other values may have changed in the file, which is expected. However, the values you have added will not change.