问题
Something is wrong with my Chrome inspector, I would like to reset the Chrome inspector to out of the box settings. How could I do ? (wihout removing my whole Chrome)
回答1:
Find the following two files and delete them. These files contain the settings for the inspector.
chrome-devtools_devtools_0.localstorage
chrome-devtools_devtools_0.localstorage-journal
Please make sure to restart the Chrome again. Hope this helps.
回答2:
- Open DevTools by pressing F12 or ctrl + shift + i
- press F1 or click on ... on the top right corner beside cross to open settings
- scroll at the bottom or to the right of screen and press [restore defaults and reload] button
- Restart chrome
NOTE: relaunch chrome is very much necessary
done !
回答3:
Looks like in today's Chrome, there is a "Restore defaults and reload" button under Developer Tools => Preferences
, which will work.
回答4:
On a Mac running 10.9.2:
~/Library/Application\ Support/Google/Chrome/Default/Local\ Storage
Or
~/Library/Application\ Support/Google/Chrome\ Canary/Default/Local\ Storage/
Remove
- chrome-devtools_devtools_0.localstorage
- chrome-devtools_devtools_0.localstorage-journal
回答5:
Thought I needed to remove chrome dev tools on a windows 10 machine. I was debugging and looking at sources of files , bootstrap in particular and the developer tools locked up. I was looking through all the chrome user data but then I ended up fixing it by
Open up chrome by itself , then open dev tools and clear the console and then navigate to elements, then I opened the localhost page I was constantly getting frozen on and then it worked.
True it is not necessarily "fixed" but it beats spending hours with no reward.
来源:https://stackoverflow.com/questions/21911066/how-to-reset-chrome-inspector