From 7ec1f90264751174735cc3097f81ad052ad35c12 Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Tue, 22 Aug 2023 13:04:11 +0200 Subject: [PATCH] Add debug vscode settings --- .gitignore | 3 +++ .vscode/launch.json | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 27f053a..3a32347 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,6 @@ main # docker overrides docker-compose.override.yml + +# debug artifacts +__debug_bin* diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..cf7bdde --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,16 @@ +{ + // 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": "Debug", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceFolder}", + "args": ["serve", "--debug"], + } + ] +}