Build your first C++ app

Debug your App

Warning: If you debug without setting a breakpoint, the console screen will close immediately after it executes.

You can go ahead and select the margin in front of the return 0; line of code. This will set a breakpoint (red dot) before the program finishes.

Debug screenshot
Select the Local Windows Debugger button at the top to build and debug your app. You’ll see a console window open (sometimes it hides behind the Visual Studio window).

Hello World screenshot


I ran into an issue I have run my app