{
"Version" : "0.2.0,"
"Configurations:" [
{
"Name" : "c + + Launch (GDB)",//configuration name, will be in the Launch configuration drop-down menu shown in
" type ":" CPPDBG ",//configuration type, here only for CPPDBG
[/color]"Request" : "launch",//request configuration type, to launch (start) or the attach (additional)
"launchOptionType" : "Local", //debugger start type, here only for Local
"targetArchitecture" : "x86," //generates target architecture, generally for x86 or x64, for x86 and arm, arm64, MIPS, x64, amd64, x86_64
"The program" : "${file}. Exe",//to debug program path
"miDebuggerPath" : "f: \ \ mingw \ \ bin \ \ GDB exe", //miDebugger path, note here with mingw path corresponding to the
"Args" : [" blackkitty ", "1221", "# #"],//program debugging when passed to the command line parameters, generally can be set to an empty
" stopAtEntry ": false, //set to true when the program will be suspended at the entrance to the program, usually set to false
"CWD" : "${workspaceRoot}",//debug program working directory, usually ${workspaceRoot} the code directory
"ExternalConsole" : true,//debug whether display console window, generally set to true display console
"PreLaunchTask" : "g + +"//debug session prior to the start of the task, generally for the compiler, for g + + c + +, c for GCC
}
]
CodePudding user response:
Baidu search relevant keywords,CodePudding user response:
I just follow their steps step by step, the results become like thisCodePudding user response:
May vs code requirements must be utf8 encoding configuration fileAnd you're actually asni or unicode,
CodePudding user response:
Asni - ANSICodePudding user response:
I deleted to knock again? Is that ok?CodePudding user response: