2022-06-08 20:26:44 +02:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
2023-02-25 18:15:30 +01:00
|
|
|
"name": "Debug Package",
|
2022-06-08 20:26:44 +02:00
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
2023-02-25 18:15:30 +01:00
|
|
|
"mode": "debug",
|
2022-06-08 20:26:44 +02:00
|
|
|
"program": "${workspaceFolder}/cmd/gotosocial",
|
|
|
|
"args": [
|
|
|
|
"testrig", "start"
|
|
|
|
],
|
2023-02-25 18:15:30 +01:00
|
|
|
"buildFlags": "-tags='netgo osusergo static_build kvformat debugenv'",
|
|
|
|
"env": {
|
|
|
|
"DEBUG": "1",
|
|
|
|
},
|
2022-06-08 20:26:44 +02:00
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|