From b85b3c679d3e616f06c6f39711a80cb45ee0b9b7 Mon Sep 17 00:00:00 2001 From: Massaki Archambault Date: Sun, 29 Dec 2024 16:16:53 -0500 Subject: [PATCH] create vscode launch configuration --- .gitignore | 3 ++- .vscode/launch.json | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 25ca447..b713036 100644 --- a/.gitignore +++ b/.gitignore @@ -53,4 +53,5 @@ tags # End of https://www.toptal.com/developers/gitignore/api/go,vim,code -config.yaml \ No newline at end of file +config.yaml +__debug_* \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..5500823 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,20 @@ +{ + // 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": "Run", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceRoot}", + "args": [ + "-debug", + "-config", + "${workspaceRoot}/config.yaml" + ] + } + ] +} \ No newline at end of file