Skip to content

How to debug in the internal Terminal instead of in the Debug Console? #8605

Answered by TryerGit
EXStevens asked this question in Q&A
Discussion options

You must be logged in to vote

AFAIK, the output from your program does NOT appear in the integrated terminal under Windows. It appears in the debug console. The problem with the debug console is that it does not accept user input, scanf, getchar, etc. See https://stackoverflow.com/questions/64394561/how-to-type-into-the-integrated-terminal-on-vs-code-in-windows
So, the only solution in Windows is to have the output appear on a separate console screen, much like how the output appears there in Visual Studio IDE, for instance. Here, you can enter your user input.

In Linux, the output can appear in a new session of the integrated terminal where you can enter user input.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@EXStevens
Comment options

Answer selected by EXStevens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants