Feature: Add debug configuration for Microsoft VS Code
This commit is contained in:
86
.vscode/launch.json
vendored
Normal file
86
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Yama (Debug x64)",
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/Bin/Yama_x64d.exe",
|
||||
"args": [
|
||||
"-agent"
|
||||
],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}/Bin",
|
||||
"environment": [],
|
||||
"preLaunchTask": "Build Yama (Debug x64)",
|
||||
"symbolSearchPath": "${workspaceFolder}/Bin;${workspaceFolder}/x64/Debug",
|
||||
"sourceFileMap": {
|
||||
"${workspaceFolder}": "${workspaceFolder}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Yama (Attach)",
|
||||
"type": "cppvsdbg",
|
||||
"request": "attach",
|
||||
"processId": "${command:pickProcess}"
|
||||
},
|
||||
{
|
||||
"name": "ghost (Debug x64)",
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/x64/Debug/ghost.exe",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}/x64/Debug",
|
||||
"environment": [],
|
||||
"console": "externalTerminal",
|
||||
"preLaunchTask": "Build ghost (Debug x64)"
|
||||
},
|
||||
{
|
||||
"name": "TestRun (Debug x64)",
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/x64/Debug/TestRun.exe",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}/x64/Debug",
|
||||
"environment": [],
|
||||
"console": "externalTerminal",
|
||||
"preLaunchTask": "Build TestRun (Debug x64)"
|
||||
},
|
||||
{
|
||||
"name": "ghost (Linux WSL)",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "/mnt/c/github/YAMA/linux/ghost",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "/mnt/c/github/YAMA/linux",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "/usr/bin/gdb",
|
||||
"pipeTransport": {
|
||||
"pipeCwd": "${workspaceFolder}",
|
||||
"pipeProgram": "C:\\Windows\\System32\\wsl.exe",
|
||||
"pipeArgs": [
|
||||
"-e",
|
||||
"bash",
|
||||
"-c"
|
||||
],
|
||||
"debuggerPath": "/usr/bin/gdb"
|
||||
},
|
||||
"sourceFileMap": {
|
||||
"/mnt/c/github/YAMA": "${workspaceFolder}"
|
||||
},
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Enable pretty-printing for gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
],
|
||||
"preLaunchTask": "Build ghost (Linux WSL)"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user