You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Displaying the type (class) of variables in the "Variables" panel during debugging, as implemented in PyCharm #931
Is it possible for Python to display variable type (class) in the "Run and Debug" -> "Variables" panel?
For simple types, it is not difficult to understand the type (class) of a variable, but for complex types it can be a problem. Moreover, in VS Code, information about a variable type does not always display information in Special Variables -> class
I attach screenshots of how the information about variables in PyCharm and VS Code looks like. What I want to see in the PyCharm screenshot is underlined with red lines.
PyCharm 2022.1 (Community Edition)
Visual Studio Code 1.67.1 + Python Extension v2022.6.1
This is a VSCode limitation, so far as I know. debugpy itself reports the type of all variables and expressions, and it's up to the client to display it. VSCode shows a tooltip on hover for that, instead of a separate column in the list.
This is a VSCode limitation, so far as I know. debugpy itself reports the type of all variables and expressions, and it's up to the client to display it. VSCode shows a tooltip on hover for that, instead of a separate column in the list.
Activity
int19h commentedon May 25, 2022
This is a VSCode limitation, so far as I know. debugpy itself reports the type of all variables and expressions, and it's up to the client to display it. VSCode shows a tooltip on hover for that, instead of a separate column in the list.
int19h commentedon May 25, 2022
Dupe of microsoft/vscode#146748
dbulgakov7 commentedon May 26, 2022
Yes, I see it now. Thanks!