Visual Studio Refuses to pause after debugging

Viewed 66

Up until now, I have never had a problem with visual studio terminating the program after running. I have been using it for almost two years in c++. I have visual studio 2019. Now, I have to manually write system("pause"); at the bottom of main . It's not that its too much of a hassle, but I am curious if anyone knows why it would mysteriously stop automatically pausing?

1 Answers

Check that the automatically close the console when debugging stops is unchecked. Tools > Options > Debugging > General > automatically close the console when debugging stops

Related