-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Program does not exist #17
Comments
@Leoer what does your launch.json file look like? |
{ |
@Leoer My guess is that a01.cpp is the file you want to build into an executable program and debug, yes? If so, you'll need to set up a Tasks.json file that builds the .cpp into an executable program (eg. using gcc) then reference the executable program name (eg. "a.out") from the launch.json "program" property. See the last paragraph here:http://code.visualstudio.com/docs/languages/cpp#_debuggingfor more info on that. |
Spend a lot of time Ideally vs-code can give prompts for each installation, etc. automatically, so that it wont be so long procedure for beginners. I wrote how to run C++ in vs code in a very detailed manner here: |
on ubuntu 14.04
when trying to debug, causes this error:
launch: program '/home/leon/visual-studio/a01.cpp' does not exist
The text was updated successfully, but these errors were encountered: