mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 17:14:24 +00: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
|
|
}
|
|
]
|
|
}
|