docs: Discuss inlay_hints.show_value_hints in debugger docs (#34581)

This isn't under the `debugger` settings key, but it seems good to
document on the debugger page anyway.

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2025-07-16 19:35:30 -04:00 committed by GitHub
parent c0261a1ea9
commit b9ff538747
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -177,8 +177,8 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W
### Stepping granularity
- Description: The Step granularity that the debugger will use
- Default: line
- Setting: debugger.stepping_granularity
- Default: `line`
- Setting: `debugger.stepping_granularity`
**Options**
@ -217,8 +217,8 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W
### Save Breakpoints
- Description: Whether the breakpoints should be saved across Zed sessions.
- Default: true
- Setting: debugger.save_breakpoints
- Default: `true`
- Setting: `debugger.save_breakpoints`
**Options**
@ -235,8 +235,8 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W
### Button
- Description: Whether the button should be displayed in the debugger toolbar.
- Default: true
- Setting: debugger.show_button
- Default: `true`
- Setting: `debugger.show_button`
**Options**
@ -253,8 +253,8 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W
### Timeout
- Description: Time in milliseconds until timeout error when connecting to a TCP debug adapter.
- Default: 2000
- Setting: debugger.timeout
- Default: `2000`
- Setting: `debugger.timeout`
**Options**
@ -268,6 +268,24 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W
}
```
### Inline Values
- Description: Whether to enable editor inlay hints showing the values of variables in your code during debugging sessions.
- Default: `true`
- Setting: `inlay_hints.show_value_hints`
**Options**
```json
{
"inlay_hints": {
"show_value_hints": false
}
}
```
Inline value hints can also be toggled from the Editor Controls menu in the editor toolbar.
### Log Dap Communications
- Description: Whether to log messages between active debug adapters and Zed. (Used for DAP development)