debugger: Truncate scope names to avoid text overlapping in variable list (#42230)

Closes #41969

This was caused because scope names weren't being truncated unlike the
other type of variable list entries.

Release Notes:

- debugger: Fix bug where minimizing the width of the variable list
would cause scope names to overlap

Co-authored-by: Remco Smits <djsmits12@gmail.com>
7475bdaf20Anthony Eid committed on 11/7/2025, 7:42:14 PM· committed by GitHubparent8e4c807
1 file changedLine totals unavailable