mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-26 23:35:51 +03:00
31 lines
683 B
JSON
31 lines
683 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"buildFlags": "",
|
|
"program": "${workspaceRoot}/main.go",
|
|
"env": {
|
|
"GITEA_WORK_DIR": "${workspaceRoot}",
|
|
},
|
|
"args": ["web"],
|
|
"showLog": true
|
|
},
|
|
{
|
|
"name": "Launch (with SQLite3)",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"buildFlags": "-tags='sqlite sqlite_unlock_notify'",
|
|
"program": "${workspaceRoot}/main.go",
|
|
"env": {
|
|
"GITEA_WORK_DIR": "${workspaceRoot}",
|
|
},
|
|
"args": ["web"],
|
|
"showLog": true
|
|
}
|
|
]
|
|
}
|