From 669be311ecc39f6e93313c614b96d5bf477ed88f Mon Sep 17 00:00:00 2001 From: Ariel Deitcher Date: Fri, 4 Apr 2025 10:11:28 -0700 Subject: [PATCH] add vscode launch configuration --- .gitignore | 1 + .vscode/launch.json | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 243e145c..9fb1dca9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ cmd/github-mcp-server/github-mcp-server # Added by goreleaser init: dist/ +__debug_bin* \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..cea7fd91 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,28 @@ +{ + // 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": "Launch stdio server", + "type": "go", + "request": "launch", + "mode": "auto", + "cwd": "${workspaceFolder}", + "program": "cmd/github-mcp-server/main.go", + "args": ["stdio"], + "console": "integratedTerminal", + }, + { + "name": "Launch stdio server (read-only)", + "type": "go", + "request": "launch", + "mode": "auto", + "cwd": "${workspaceFolder}", + "program": "cmd/github-mcp-server/main.go", + "args": ["stdio", "--read-only"], + "console": "integratedTerminal", + } + ] +} \ No newline at end of file