问题
As of a few days ago, whenever I open the developer tools in Chrome on OSX the 'drawer' automatically opens - 2nd screen shot
The icon in blue shows/hides the drawer (now defaults to on) - First screen shot


This is so annoying and I cant figure out a way to stop this behaviour. It never did this before....
回答1:
This was annoying me to no end and I could never figure out why it was automatically opening. Apparently the fix, at least in my case, is that I went into the Emulation tab inside of the drawer and disabled any of the overrides. Everything in blue is highlighted as an override. Disabling those seems to have fixed the problem for me.
回答2:
Offering Phil Rykoff's comment as a solution...
Disabling JavaScript source maps seems to do the trick for me.
Settings
> Enable JavaScript source maps
I was getting an error parsing my source maps so this could well be the cause for those with similar errors:
Failed to parse SourceMap: https://myapp/vendor.map
回答3:
Found the solution press the "Escape" key when you're on the Developer Tools
回答4:
There is also a setting under Appearance
-> Show 'Emulation'/'Rendering' view in console drawer
which will turn them off by default. But if you have some overrides then the panel still popup when you open Developer Tools.
回答5:
- In the DevTools, click the hamburger-icon.
- Click 'Hide console'
回答6:
Further to Ed's solution (which did fix my problem) the issue appears to be that the whatever page you are viewing is generating a console error- which in this case just happens to be a SourceMap error.
Because the default tab on the Dev Tools pane is "Elements" it appears that Chrome opens the console drawer so that the error message is visible when you reload. Rearranging the tabs in the Dev Tools so that console is the first item solves the issue, and I could re-enable SourceMap errors.
来源:https://stackoverflow.com/questions/21420516/google-chrome-dev-tools-automatically-opens-the-drawer-pane