How to use application console during debug?

I am using Clion 2017.1.1, Windows 7 64-bit, MinGW 5. When I debug a program, it uses system console. When I run a program, it uses application console. Personally, I prefer the built-in application console since it keeps the console cout history after program termination. In this way, I don't need to add a system("pause") to my code. So, how do I use application console for debugging?

1 comment

I have already got an answer in stackoverflow.

I learn that this feature has difficulty being implemented. 


Please sign in to leave a comment.