cobek/.vscode/launch.json
2022-09-09 20:30:38 +06:00

52 lines
1.7 KiB
JSON

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Debug",
"type": "cppdbg",
"request": "launch",
"preLaunchTask": "build_cb2c_dbg",
"program": "bin/cb2c.com",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"internalConsoleOptions": "openOnSessionStart",
"pipeTransport": {
"debuggerPath": "gdb",
"pipeProgram": "bash",
"pipeArgs": ["-c"],
"pipeCwd": ""
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
},
{
"name": "(Windows) Debug",
"type": "cppvsdbg",
"request": "launch",
"preLaunchTask": "build_cb2c_dbg",
"cwd": "${workspaceRoot}\\bin",
"program": "${workspaceRoot}\\bin\\cb2c.com",
"args": [],
"environment": [],
"stopAtEntry": false,
"console": "integratedTerminal"
}
]
}