r/C_Programming • u/No_Comment9862 • Oct 07 '26
VScode C file only running in terminal
I just started learning C on my own and I am currently needing help running C files on VScode, the problem I am having is that the C file can only be run on terminal, when i try to run it in Debugging it shows some kind of error and stuffs, when i try to run it in output the pop up appears that says "Code Language not supported or defined", I have every necessary extensions and path and everything set up, I had try pretty much everything I can think of and it is still not working.
0
Upvotes
10
u/mikeblas Oct 07 '26
If you want to get help, you'll need to be at least a little bit more specific.
Also, consider asking in /r/vscode .
2
u/RealisticDuck1957 Oct 07 '26
Check your compiler docs for how to enable debug symbols.
1
u/UltimaN3rd Oct 08 '26
It's a bit difficult to help you without more info, but here is my tutorial on setting up VSCode as a C IDE on Windows: https://goldenpathprogramming.com/oasis/setup/vscodium/windows/
Linux: https://goldenpathprogramming.com/oasis/setup/vscodium/linux/
MacOS: https://goldenpathprogramming.com/oasis/setup/vscodium/macos
1
u/Alternative_Corgi_62 Oct 08 '26
If you are on Windows, consider using Visual Studio Community instead of VSCode
1
u/TurbulentFlatworm537 Oct 08 '26
Did you download the compilers..thats what think is the bottle neck is.