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