From b2bc4421a137f537005284abee0c311c9a4bea90 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Tue, 6 Apr 2021 13:39:49 +0200 Subject: [PATCH 1/3] add vscode debug config --- .vscode/launch.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..0ad2c601a --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,22 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "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" + } + }, + ] +} \ No newline at end of file From 4581e9cdd1c703c0862bcda55f849fcc42a8ee69 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Wed, 7 Apr 2021 13:44:20 +0200 Subject: [PATCH 2/3] add gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 16a4eaabb..486fc17c7 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,9 @@ dist/ *crt node_modules/ */assets +ocis/ocis +ocis/cmd/ocis/__debug_bin +ocis/cmd/ocis/config/ .idea From e3c7555211e5aacc124fbb2eb51c61f663b471db Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Wed, 7 Apr 2021 13:45:09 +0200 Subject: [PATCH 3/3] remove json comments --- .vscode/launch.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 0ad2c601a..37d283a4b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,7 +1,4 @@ { - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ {