forked from vercel/turborepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
launch.json
153 lines (153 loc) · 4.34 KB
/
launch.json
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
// 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": "E2E",
"runtimeArgs": ["-r", "esbuild-register"],
"cwd": "${workspaceFolder}/cli",
"program": "${workspaceFolder}/cli/scripts/e2e/e2e.ts",
"request": "launch",
"skipFiles": ["<node_internals>/**"],
"type": "node",
"preLaunchTask": "prepare e2e"
},
{
"name": "Server",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}/examples/basic",
"args": ["daemon"]
},
{
"name": "Benchmark Server",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}/benchmark/large-monorepo",
"args": ["daemon"]
},
{
"name": "Benchmark Client",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}/benchmark/large-monorepo",
"args": ["run", "build", "-vvv"]
},
{
"name": "Client",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}/examples/basic",
"args": ["run", "build", "-vvv"]
},
{
"name": "turbo --version",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}/examples/basic",
"args": ["--version"]
},
{
"name": "Build Basic",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}/examples/basic",
"args": ["run", "build"]
},
{
"name": "Build Basic (Dry Run / Debug)",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}/examples/basic",
"args": ["run", "build", "--dry-run", "-vv"]
},
{
"name": "Build Kitchen Sink",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}/examples/kitchen-sink",
"args": ["run", "build", "-vv"]
},
{
"name": "Build Kitchen Sink (Dry Run)",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}/examples/kitchen-sink",
"args": ["run", "build", "--dry-run"]
},
{
"name": "Build All",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}",
"args": ["run", "build"]
},
{
"name": "Build All (Force)",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}",
"args": ["run", "build", "--force"]
},
{
"name": "Testbed",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/cli/cmd/turbo",
"cwd": "${workspaceRoot}/cli/testbed",
"args": ["run", "build", "--single-package"]
},
{
"name": "Build Basic (Shim)",
"type": "lldb",
"request": "launch",
"preLaunchTask": "prepare turbo",
"program": "${workspaceRoot}/target/debug/turbo",
"args": ["build"],
"cwd": "${workspaceRoot}/examples/basic"
},
{
"name": "Generators",
"type": "lldb",
"request": "launch",
"preLaunchTask": "prepare turbo",
"program": "${workspaceRoot}/target/debug/turbo",
"args": ["gen", "blog - release post", "--args", "1.11.0", "1.10.0", "_", "tagline about my really cool release"],
"cwd": "${workspaceRoot}"
},
{
"name": "Daemon",
"type": "lldb",
"request": "launch",
"preLaunchTask": "prepare turbo",
"program": "${workspaceRoot}/target/debug/turbo",
"args": ["--skip-infer", "daemon"],
"cwd": "${workspaceRoot}"
}
]
}