Merge pull request #1894 from owncloud/add_vscode_debug

This commit is contained in:
Alex Unger
2021-04-07 17:26:42 +02:00
committed by GitHub
2 changed files with 22 additions and 0 deletions

3
.gitignore vendored
View File

@@ -9,6 +9,9 @@ dist/
*crt
node_modules/
*/assets
ocis/ocis
ocis/cmd/ocis/__debug_bin
ocis/cmd/ocis/config/
.idea

19
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,19 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "oCIS server",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/ocis/cmd/ocis",
"args": ["server"],
"env": {
"OCIS_LOG_LEVEL": "debug",
"OCIS_LOG_PRETTY": "true",
"OCIS_LOG_COLOR": "true",
"PROXY_ENABLE_BASIC_AUTH": "true"
}
},
]
}