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