Home > OS >  How to get the output in cmd instead of inside the terminal of vscode?
How to get the output in cmd instead of inside the terminal of vscode?

Time:03-16

the same as in this picture

img

I know the vscode in the picture is outdated, I took the pic from google

CodePudding user response:

Run the program outside of vscode

CodePudding user response:

I found out how...

in the settings search for java(or the language u r using, for me it was java).

keep scrolling until u see:Java(or your language name)>Debug>Settings:Console

and set it to externalTerminal as in this picture

you'll probably have to go back and set the external terminal into cmd if you want it exactly the same as in the picture in the question

here is how:

in the settings search for terminal.

you'll find right away: Terminal>External: Windows Exec as in this picture

set it to cmd by adding the location of the cmd on your pc.

and thats probably all if you had a problem feel free to leave a comment and I will look at it even after years of posting this...

if i was not dead by then...

  • Related