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