Skip to content

Display the type of variables in the "Variables" panel during debugging in a separate column #210258

@tnusser

Description

@tnusser

As mentioned in the following issue: microsoft/debugpy#931

The type of variables in the "Variables" panel when using the debugger is only shown on mouse hover. So basically the debugpy module already provides the information. When inspecting a series of variables it is quite tedious to hover over every single variable to determine its type. It would be a nice feature to just display it in a separate column or even better using e.g. python type hint syntax: my_var: float = 1.0 or like PyCharm does it.

It took me a while to figure out the problem in my code due to not suspecting differing types for the following two variables:
float vs. npfloat

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions