Debug config

This commit is contained in:
Abdelrahman Said 2023-10-21 18:59:25 +01:00
parent 9451c7d4db
commit 04dc7cc3f4

35
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,35 @@
{
// 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 pckr",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/pckr",
"args": [
"${workspaceFolder}/test_assets",
"${workspaceFolder}/assets"
],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"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
}
]
}
]
}