koto/.vscode/launch.json
Joshua Strobl ddf1987b50 Support custom launch configurations
Added GDB and non-GDB Koto launching so I can stop using GNOME Builder.
2021-04-20 05:35:32 +03:00

50 lines
No EOL
1.3 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": "Launch (GDB)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/builddir/src/com.github.joshstrobl.koto",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{"name" : "G_MESSAGES_DEBUG", "value": "all" },
{ "name": "GTK_THEME", "value": "Default:dark" }
],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "Meson Configure and Build"
},
{
"name": "Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/builddir/src/com.github.joshstrobl.koto",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{"name" : "G_MESSAGES_DEBUG", "value": "all" },
{ "name": "GTK_THEME", "value": "Default:dark" }
],
"externalConsole": false,
"linux": {
"MIMode": "gdb",
"miDebuggerPath": ""
},
"preLaunchTask": "Meson Configure and Build"
},
]
}