diff options
author | Lauris BH | 2022-01-25 07:00:55 +0200 |
---|---|---|
committer | GitHub | 2022-01-25 05:00:55 +0000 |
commit | 9628a76ce6f4fea8508f79747d78007907e3ea76 (patch) | |
tree | 1960ac1f14045f96e99d758090e73883214a48b8 /contrib | |
parent | a717265e477a369568ca3439882b8bcb3b28b945 (diff) |
Update to work with latest VS Code go debugger (#18397)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ide/vscode/launch.json | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/ide/vscode/launch.json b/contrib/ide/vscode/launch.json index 10df14ef3..b80b826fc 100644 --- a/contrib/ide/vscode/launch.json +++ b/contrib/ide/vscode/launch.json @@ -7,10 +7,10 @@ "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 }, @@ -20,10 +20,10 @@ "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 } |