chrome开发工具指南(五)

Click More More to open the Main Menu.

Settings

To open Settings, do one of the following:

  • Press F1 while DevTools is in focus.
  • Open the Main Menu and then select Settings.

Command Menu

To open the DevTools Command Menu, press Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows, Linux).

Drawer

Press Escape to open or close the Drawer.

A DevTools window, with the       Drawer open at the bottom. The Console tab is open in the Drawer.

Figure 4: A DevTools window, with the Drawer open at the bottom. The Console tab is open in the Drawer.

Click More More to open other Drawer tabs.

The button for opening Drawer       tabs.

Figure 5: The button for opening Drawer tabs, outlined in blue.

Change the DevTools UI

Reorder panel tabs

Click and drag a panel tab to change its ordering. Your custom tab order persists across DevTools sessions.

A DevTools window       with a custom panel tab ordering.
Figure 6: A DevTools window with a custom tab ordering. By default, the Network panel tab is usually the fourth from the left. In the screenshot, it's the first from the left.

Change DevTools placement

To change the placement of the DevTools window:

  1. Open the Main Menu.
  2. Select Undock into separate window Undock into separate windowDock to left Dock to    leftDock to bottom Dock    to bottom, or Dock to right Dock to right.
Note:  Dock to left was introduced in Chrome 58.

You can also change the placement of DevTools from the Command Menu. The names of the commands are the same as the options mentioned above.

The DevTools window,       docked to the left.
Figure 7: The DevTools window, docked to the left.

Use dark theme

To set DevTools to a dark theme:

  1. Open Settings.
  2. Click the Preferences tab.
  3. Under the Appearance section, set Theme to Dark.

You can also set DevTools to dark theme from the Command Menu.

The dark theme of DevTools.
Figure 8: The dark theme of DevTools.

Experiments

To enable DevTools experiments:

  1. Go to chrome://flags/#enable-devtools-experiments.
  2. Click Enable.
  3. Click Relaunch Now, at the bottom of the page.

The next time you open DevTools, there's a new page called Experiments in Settings.

转载于:https://www.cnblogs.com/cina33blogs/p/6757792.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值