40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
|
{
|
||
|
"configurations": {
|
||
|
"Launch": {
|
||
|
"adapter": "vscode-cpptools",
|
||
|
"filetypes": [ "cpp", "c", "objc", "rust" ], // optional
|
||
|
"configuration": {
|
||
|
"request": "launch",
|
||
|
"program": "${workspaceRoot}/output/main",
|
||
|
"args": [ "${workspaceRoot}/tests/guide.dat", "2" ],
|
||
|
"cwd": "${workspaceRoot}/output",
|
||
|
//"environment": [ ... ],
|
||
|
"externalConsole": true,
|
||
|
"MIMode": "gdb"
|
||
|
}
|
||
|
},
|
||
|
"Attach": {
|
||
|
"adapter": "vscode-cpptools",
|
||
|
"filetypes": [ "cpp", "c", "objc", "rust" ], // optional
|
||
|
"configuration": {
|
||
|
"request": "attach",
|
||
|
"program": "${workspaceRoot}/output/main",
|
||
|
"MIMode": "gdb"
|
||
|
}
|
||
|
},
|
||
|
"Launch prod": {
|
||
|
"adapter": "vscode-cpptools",
|
||
|
"filetypes": [ "cpp", "c", "objc", "rust" ], // optional
|
||
|
"configuration": {
|
||
|
"request": "launch",
|
||
|
"program": "${workspaceRoot}/output/main",
|
||
|
"args": [ "guide.dat", "2" ],
|
||
|
"cwd": "${workspaceRoot}/output",
|
||
|
//"environment": [ ... ],
|
||
|
"externalConsole": true,
|
||
|
"MIMode": "gdb"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|