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
Feature request: please add an option to show NumPy array metadata (shape, dtype, ndim) directly in the Variables/Locals view when debugging Python. Current workarounds (Data Viewer, Watch, Debug Console) are helpful but a compact shape/dtype column would greatly speed up debugging numeric code.
Use case:
Quickly inspect array shapes/dtypes (e.g., frame.shape, frame.dtype) while paused at breakpoints without opening the Data Viewer or adding watches.
Helpful for image-processing / ML workflows where many arrays are inspected frequently.
Suggested design:
Add optional compact badges or columns in Variables: name | type | shape | dtype | value-preview.
Or provide a toggle Python: Show Array Shape/DType in Variables.
Repro steps:
Open a Python file using NumPy arrays.
Start debugger and pause on a line where arrays exist.
Observe Variables view — shape/dtype not visible by default.
Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.109.5. Please try upgrading to the latest version and checking whether this issue remains.
Activity
vs-code-engineering commentedon Feb 20, 2026
Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.109.5. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!