First add a breakpoint to the program
Then click "Local Windows Debugger" to start debugging
At this time, click "Debug" -> "Window" -> "Auto Window", and an automatic window will appear, and you can observe the value of each variable from the automatic window.