Add debug config for pakrd_test

This commit is contained in:
Abdelrahman Said 2023-10-24 00:40:21 +01:00
parent 7fd7bc4dfa
commit 07daa2ca19

24
.vscode/launch.json vendored
View File

@ -54,6 +54,30 @@
"ignoreFailures": true "ignoreFailures": true
} }
] ]
},
{
"name": "(gdb) Debug pakrd_test",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/pakrd_test",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"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
}
]
} }
] ]
} }