-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json.template
32 lines (32 loc) · 1.2 KB
/
launch.json.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// this is to run the command within the vscode terminal and environment
// put this in project .vscode folder, remove the .template extension, add the API key(s)
// remove these lines -- start-stop with buttons
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Program",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${fileDirname}",
"env": {
"OPENAI_API_KEY": "PUT_THE_API_KEY_HERE",
"GOOGLE_AI_API_KEY": "PUT_GOOGLE_AI_API_KEY_HERE",
"CO_API_KEY": "PUT_COHERE_API_KEY_HERE",
"ANTHROPIC_API_KEY": "PUT_ANTHROPIC_API_KEY_HERE",
"DEEPSEEK_API_KEY": "PUT_DEEPSEEK_API_KEY_HERE"
},
"args": ["--project", "../projects/proj_test.toml"], // Relative path to the project config
//"args": ["--init"],
"console": "integratedTerminal"
},
{
"name": "Debug Tests",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${fileDirname}" // Runs tests in the directory of the currently opened file
}
]
}