Files
antimicrox/.vscode/launch.json

52 lines
1.7 KiB
JSON
Executable File

{
// 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": [
{
"type": "cppdbg",
"request": "launch",
"name": "Open a core dump(c/c++)",
"program": "${workspaceFolder}/build/bin/antimicrox",
"coreDumpPath": "${input:coreFileName}",
"cwd": "${workspaceFolder}",
"MIMode": "gdb",
"visualizerFile": "${workspaceFolder}/.vscode/qt5.natvis.xml"
},
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/bin/antimicrox",
"args": [
"--log-level",
"verbose"
],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Włącz formatowanie kodu dla gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"text": "-gdb-set follow-fork-mode child"
}
],
"visualizerFile": "${workspaceFolder}/.vscode/qt5.natvis.xml",
"showDisplayString": true,
}
],
"inputs": [
{
"id": "coreFileName",
"type": "promptString",
"description": "Enter core file path"
}
]
}