This extension lets you visually debug arrays alongside the variables that point to their indices.
Currently, it only works well with Python.
Usage
Start a debug session.
Open the command palette and run Array Index Visual Debugger: Open Panel.
Enter the name of the array and select whether it's 1D or 2D.
Enter the index variables you want to visualize. In 2D mode, you’ll need to specify whether each variable represents a row or a column index. (Note: The values you enter here are evaluated as expressions in the debugged program. If you enter an expression with side effects, those side effects will occur in the debuggee.)
Step through your code (using the VS Code debug controls) — the panel will automatically highlight the positions in the array corresponding to the specified index variables.
(Optional) In 2D mode, you can highlight specific cells by specifying combinations of row and column index variables.