问题
Trying to open developer tools in Chrome, either through the main menu or through inspect elements context option, I see the inspector window flash up and then just disappears. Everytime.
What's going on? Is there anyway of reseting the developer tools configuration without deleting my profile?
I'm using v 26.0.1410.43 on Apple MacBook Pro.
回答1:
I just had a very similar issue where a white window showed up where the dev tools should have been. (I think it was caused by Photoshop CS6 freezing the crap out of my machine every 10 minutes since I updated to Yosemite)
The way I resolved it without having to delete all the rest of my user data was by deleting the following file:
~/Library/Application Support/Google/Chrome/Default/Local Storage/chrome-devtools_devtools_0.localstorage-journal
Quit Chrome, delete that file, restart and hopefully you'll be good to go!
(Thanks to Rob W. for the tip on how to run Chrome with a whole new directory setup)
来源:https://stackoverflow.com/questions/15988035/developer-tools-not-working-in-chrome-osx