2017-09-12 14:27:44 +02:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "Launch",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "debug",
|
|
|
|
"buildFlags": "",
|
|
|
|
"program": "${workspaceRoot}/main.go",
|
2022-01-25 06:00:55 +01:00
|
|
|
"env": {
|
|
|
|
"GITEA_WORK_DIR": "${workspaceRoot}",
|
|
|
|
},
|
2017-09-12 14:27:44 +02:00
|
|
|
"args": ["web"],
|
|
|
|
"showLog": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Launch (with SQLite3)",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "debug",
|
2020-10-27 21:58:09 +01:00
|
|
|
"buildFlags": "-tags='sqlite sqlite_unlock_notify'",
|
2017-09-12 14:27:44 +02:00
|
|
|
"program": "${workspaceRoot}/main.go",
|
2022-01-25 06:00:55 +01:00
|
|
|
"env": {
|
|
|
|
"GITEA_WORK_DIR": "${workspaceRoot}",
|
|
|
|
},
|
2017-09-12 14:27:44 +02:00
|
|
|
"args": ["web"],
|
|
|
|
"showLog": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|