Goit

Simple and lightweight Git web server
Mirror of https://github.com/Jamozed/Goit
git clone http://git.omkov.net/Goit
Log | Tree | Refs | README | Download

AuthorJakob Wakeling <[email protected]>
Date2023-08-26 02:47:45
Commitc026530dc796eb0979ecc4e576ad718fe978402e
Parent23b01c45f7e1f6d94c5261dbbebba9c35efff731

Add VS Code launch.json

Diffstat

M .gitignore | 4 +++-
A .vscode/launch.json | 13 +++++++++++++

2 files changed, 16 insertions, 1 deletions

diff --git a/.gitignore b/.gitignore
index 2cc5ddb..964e84e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
-/.vscode/
+/.vscode/*
 /bin/
+
+!/.vscode/launch.json
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..ca1ddc7
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,13 @@
+{
+	"version": "0.2.0",
+	"configurations": [
+		{
+			"name": "Debug",
+			"type": "go",
+			"request": "launch",
+			"program": "${workspaceFolder}/main.go",
+			"cwd": "${workspaceFolder}/bin",
+			"mode": "debug",
+		},
+	],
+}