I am using Visual Studio 2019 to create a CMake project that runs WSL2 to compile my program. However, when I create the project and then try to start without debugging (Debug > Start Without Debugging), the program builds, and then it isn't run. I have also tried asking the user for input at the end like so:
std::cin >> a;
Still, no window appears.