[dev] Add devcontainers and vscode config templates

This commit is contained in:
Christian Meffert
2024-10-03 07:56:32 +02:00
committed by Alain Nussbaumer
parent 9fbd07a75d
commit 2fe6969f72
13 changed files with 1088 additions and 1 deletions

28
.dev/vscode/launch.json Normal file
View File

@@ -0,0 +1,28 @@
{
"configurations": [
{
"name": "OwnTone",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/src/owntone",
"args": ["-f", "-c", "/data/conf/owntone.conf", "-w", "${workspaceFolder}/htdocs", "-s", "${workspaceFolder}/sqlext/.libs/owntone-sqlext.so"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"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
}
]
}
],
"version": "2.0.0"
}