fork of https://github.com/sourcegraph/zoekt
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": "Index folder",
9 "type": "go",
10 "request": "launch",
11 "mode": "auto",
12 "program": "cmd/zoekt-git-index",
13 "cwd": "${workspaceFolder}",
14 "args": ["-index", "${input:indexPath}", "${input:path}"]
15 },
16 {
17 "name": "Webserver",
18 "type": "go",
19 "request": "launch",
20 "mode": "auto",
21 "program": "cmd/zoekt-webserver",
22 "cwd": "${workspaceFolder}",
23 "args": ["-index", "${input:indexPath}"]
24 },
25 {
26 "name": "Attach to Process (from list)",
27 "type": "go",
28 "request": "attach",
29 "mode": "local"
30 }
31 ],
32 "inputs": [
33 {
34 "id": "path",
35 "description": "Please enter the path to the project to index",
36 "default": "",
37 "type": "promptString"
38 },
39 {
40 "id": "indexPath",
41 "description": "Enter the path where indexes are stored",
42 "default": "${userHome}/.zoekt",
43 "type": "promptString"
44 }
45 ]
46}