Hi I read this Question about using VS code to compile C++ console app but how to use VSCode to debug C++ application console app?
Asked
Active
Viewed 4,863 times
3
-
Put breakpoints and run it in your debugger - hit F5! – Andrew Komiagin Oct 30 '15 at 13:43
-
@AndrewKomiagin I think you talk about Visua Studio - Not about Visual Studio Code, don't you? – Wosi Oct 30 '15 at 13:51
-
Right, the Visual Studio Code is just code editor. So go ahead and download and use complete IDE - Visual Studio Community Edition. Its absolutely free. So you'll be able to use proper tool for C++. – Andrew Komiagin Oct 30 '15 at 13:53
-
@AndrewKomiagin No I'm talking about VS Code. if you see link http://stackoverflow.com/questions/30269449/how-do-i-set-up-vscode-to-compile-c-code you can use VS code to compile C/C++ with Makefile – Oct 30 '15 at 14:11
-
1As already stated: You **can compile** applications from within VSCode. But you **cannot debug** them. You need to take a real IDE like Visual Studio for debugging purpose. – Wosi Oct 30 '15 at 14:17
-
1@am411998 _"you can use VS code to compile C/C++ with Makefile"_ sure, you could have written the code with notepad and compile with a Makefile, that doesn't mean you can debug it using notepad. – πάντα ῥεῖ Oct 30 '15 at 14:18
2 Answers
0
You can't currently debug a C++ application in Visual Studio Code.

Wosi
- 41,986
- 17
- 75
- 82
-
The [VSCode tag wiki info](http://stackoverflow.com/tags/vscode/info) says different so. – πάντα ῥεῖ Oct 30 '15 at 13:45
-
No, it doesn't. You can debug Typescript and Javascript. But you can't debug C++ until there is a plugin to do so. – Wosi Oct 30 '15 at 13:47