Skip to content

Commit 17e4bd4

Browse files
authored
add vscode launch configuration (#104)
1 parent 92303d4 commit 17e4bd4

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
cmd/github-mcp-server/github-mcp-server
33
# Added by goreleaser init:
44
dist/
5+
__debug_bin*

.vscode/launch.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Launch stdio server",
9+
"type": "go",
10+
"request": "launch",
11+
"mode": "auto",
12+
"cwd": "${workspaceFolder}",
13+
"program": "cmd/github-mcp-server/main.go",
14+
"args": ["stdio"],
15+
"console": "integratedTerminal",
16+
},
17+
{
18+
"name": "Launch stdio server (read-only)",
19+
"type": "go",
20+
"request": "launch",
21+
"mode": "auto",
22+
"cwd": "${workspaceFolder}",
23+
"program": "cmd/github-mcp-server/main.go",
24+
"args": ["stdio", "--read-only"],
25+
"console": "integratedTerminal",
26+
}
27+
]
28+
}

0 commit comments

Comments
 (0)