"request": "launch",
"mode": "debug",
"buildFlags": "",
- "port": 2345,
- "host": "127.0.0.1",
"program": "${workspaceRoot}/main.go",
- "env": {},
+ "env": {
+ "GITEA_WORK_DIR": "${workspaceRoot}",
+ },
"args": ["web"],
"showLog": true
},
"request": "launch",
"mode": "debug",
"buildFlags": "-tags='sqlite sqlite_unlock_notify'",
- "port": 2345,
- "host": "127.0.0.1",
"program": "${workspaceRoot}/main.go",
- "env": {},
+ "env": {
+ "GITEA_WORK_DIR": "${workspaceRoot}",
+ },
"args": ["web"],
"showLog": true
}