How can I keep the “Console Drawer” hidden by defa

2020-02-16 20:38发布

When I have DevTools open, there is a little button that toggles Hide Drawer. and Show Console.. Besides being inconsistently named, the 'drawer' is very annoying to me because it takes up so much of the little screen real estate allotted for devtools (i'm bottom docked). How can I keep this 'drawer' closed permanently? Or if I can't do that, can I at least keep the height of it as low as possible? (it returns to a default height every time I open it)

11条回答
兄弟一词,经得起流年.
2楼-- · 2020-02-16 20:55

THIS SOLUTION NO LONGER WORKS WITH NEW CHROME VERSIONS. THE ICON WAS REMOVED. The working solution was pasted above by Sigma. Pressing the ESC key will toggle the visibility of the panel.

I notice the majority of these answers are over a year old. I had a similiar issue and it's August 2015.

I was overlooking a simple icon: The >_ next to the gear. enter image description here

You can see the video of the window being shown and hidden to confirm this is the same issue: http://www.youtube.com/watch?v=QOC863BxZNM&hd=1

查看更多
倾城 Initia
3楼-- · 2020-02-16 20:58

My problem was that the Console was enabled in the chrome menu, you can turn it off by clicking on the Console option in the dev tools settings:

Turn off Console

查看更多
我只想做你的唯一
4楼-- · 2020-02-16 21:01

It is because Spoof User Agent is enabled in your Emulation-tab in the drawer.

Deselect the options below

The spoof user agent

查看更多
疯言疯语
5楼-- · 2020-02-16 21:02

Apparently there is a show / hide console button next to the setting button. info and screenshot here - https://developers.google.com/chrome-developer-tools/docs/console#opening_the_console

查看更多
【Aperson】
6楼-- · 2020-02-16 21:04

I had to uncheck that box shown in circle in the newest chrome version (38.*).

Hide console

查看更多
Summer. ? 凉城
7楼-- · 2020-02-16 21:05

At least you can press ESC to toggle the console area hide and show.

查看更多
登录 后发表回答