From 8227c45a11e2af162e02911706228f3079461ad2 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Wed, 4 Jun 2025 01:38:41 +0200 Subject: [PATCH] docs: Document debugger.dock setting (#32038) Closes #ISSUE Release Notes: - N/A --- docs/src/debugger.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/src/debugger.md b/docs/src/debugger.md index c8db795fefc90669d8444fa1214003025182e3b5..a87b6e21a75f6f5d62b287b3bdeba2a1d234868d 100644 --- a/docs/src/debugger.md +++ b/docs/src/debugger.md @@ -279,6 +279,7 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W ## Settings +- `dock`: Determines the position of the debug panel in the UI. - `stepping_granularity`: Determines the stepping granularity. - `save_breakpoints`: Whether the breakpoints should be reused across Zed sessions. - `button`: Whether to show the debug button in the status bar. @@ -286,6 +287,24 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W - `log_dap_communications`: Whether to log messages between active debug adapters and Zed. - `format_dap_log_messages`: Whether to format DAP messages when adding them to the debug adapter logger. +### Dock + +- Description: The position of the debug panel in the UI. +- Default: `bottom` +- Setting: debugger.dock + +**Options** + +1. `left` - The debug panel will be docked to the left side of the UI. +2. `right` - The debug panel will be docked to the right side of the UI. +3. `bottom` - The debug panel will be docked to the bottom of the UI. + +```json +"debugger": { + "dock": "bottom" +}, +``` + ### Stepping granularity - Description: The Step granularity that the debugger will use