UE4.24 C++ Unable to start a program UE4.exe

Ok I fixed it turns out you need to set your game vs project as the startup project