Watching Variables
You can select individual variables in the Variables view or in the source editor and add them to the Watch view. You can also add, modify, or delete variables directly in the Watch view.
Note:
You can add only scalar variables to the Watch view. This is a limitation of Visual Studio Code.
To watch a complete array, select one of its elements in the Variables view and choose Add to Watch:

Then change the scalar to an array. Select the scalar in the Watch view and press F2.

After you have added a valid range, you can expand the array in the Watch view:
