'Why do I not see all variables in the debugger?

I am using the debugger for VS Code & in below screenshot, I would expect to see the values for variables, res and nums1. How come they are not listed under 'Closure(intersect)'? (not in the Global submenu either, as I would expect)

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source