乐闻世界logo
搜索文章和话题

How to reposition chrome developer tools

1个答案

1

When using Google Chrome's Developer Tools, you can reposition the Developer Tools window based on your preferences or screen layout needs. The following are several methods to adjust its position:

  1. Default Position (Dock to bottom) - This is the most common layout, with Developer Tools displayed at the bottom of the webpage.

  2. Right Position (Dock to right) - If you want Developer Tools to be displayed alongside the webpage on the right, select this layout.

  3. Separate Window (Undock into a separate window) - If you wish to use Developer Tools in a separate window, enabling you to view the webpage on one screen while using Developer Tools on another, this is a good option.

2. Using Keyboard Shortcuts

  • On Windows/Linux systems, pressing Ctrl + Shift + D switches between 'Default Position' and 'Separate Window'.
  • On macOS, after opening Developer Tools with Cmd + Option + I, use Cmd + Shift + D to toggle.

3. Long-pressing the three dots in the top-left corner of Developer Tools

Long-pressing the three dots in the top-left corner of Developer Tools will open a menu where you can select the docking position, including docking at the bottom, right, or opening as a separate window.

4. Dragging from the Developer Tools title bar

If Developer Tools is open as a separate window, drag any part of its title bar to dock it back to the bottom or right of the browser window. Conversely, if it is docked within the browser window, drag the title bar to undock it into a separate window.

Example

Suppose I am debugging a responsive website and need to open Developer Tools on the right side of the screen to better view the mobile layout. I can click the three dots in the top-right corner of Developer Tools and select 'Dock to right' (or use the keyboard shortcut Ctrl + Shift + D on Windows/Linux or Cmd + Shift + D on macOS) to position it on the right.

If you have a dual-screen setup and wish to display the webpage content in full screen on one screen while using Developer Tools for code debugging on another screen, you can select 'Undock into separate window' to drag Developer Tools to the other screen.

Adjusting the position of Developer Tools can enhance your efficiency during development or debugging, making it very useful to know how to reposition it according to different needs.

2024年6月29日 12:07 回复

你的答案