-
Notifications
You must be signed in to change notification settings - Fork 510
Closed
Description
Title: [Bug] Remote debugging settings not working for Map/List visualization
Description:
The debug settings for improving collection visualization (like showLogicalStructure and showToString) are not working in remote debugging mode.
Current behavior:
- When debugging locally, the settings work fine
- When debugging remotely, the Map/List variables are displayed in a basic format
- The settings in launch.json and settings.json are not taking effect
Expected behavior:
-
Remote debugging should respect the same visualization settings as local debugging
-
Map/List variables should be displayed in a more readable format
-
Debug settings should work consistently across local and remote debugging
"showLogicalStructure": true,
"showToString": true
2. Start remote debugging
3. Try to inspect a Map or List variable
4. The variable is displayed in basic format, not respecting the settings
Impact:
- Makes debugging complex data structures more difficult
- Reduces debugging efficiency
- Inconsistent experience between local and remote debugging
Workaround:
Currently using Watch expressions or logging to view collection contents:
```java
stringStringMap.entrySet().stream()
.map(e -> e.getKey() + "=" + e.getValue())
.collect(java.util.stream.Collectors.joining(", ", "{", "}"))
Suggestion:
- Make remote debugging respect the same visualization settings as local debugging
- Add specific settings for remote debugging visualization
- Improve the default visualization of collections in remote debugging
Metadata
Metadata
Assignees
Labels
No labels