mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-26 02:10:04 +08:00
4c2b1be3a4
* Basic VSCode configuration for building and debugging * Fix building and debugging in Windows * Move to contrib folder and add instructions
32 lines
652 B
JSON
32 lines
652 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"buildFlags": "",
|
|
"port": 2345,
|
|
"host": "127.0.0.1",
|
|
"program": "${workspaceRoot}/main.go",
|
|
"env": {},
|
|
"args": ["web"],
|
|
"showLog": true
|
|
},
|
|
{
|
|
"name": "Launch (with SQLite3)",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"buildFlags": "-tags=\"sqlite\"",
|
|
"port": 2345,
|
|
"host": "127.0.0.1",
|
|
"program": "${workspaceRoot}/main.go",
|
|
"env": {},
|
|
"args": ["web"],
|
|
"showLog": true
|
|
}
|
|
]
|
|
}
|