2
2
{
3
3
"version" : " 0.2.0" ,
4
4
"configurations" : [
5
+ {
6
+ "name" : " E2E Tests" ,
7
+ "type" : " debugpy" ,
8
+ "request" : " launch" ,
9
+ "program" : " .venv/bin/pytest" ,
10
+ "args" : [" -v" ],
11
+ "cwd" : " ${workspaceFolder}/testing" ,
12
+ "console" : " integratedTerminal"
13
+ },
5
14
{
6
15
"type" : " lldb" ,
7
16
"request" : " attach" ,
8
17
"name" : " Attach" ,
9
18
"program" : " odoo-lsp" ,
10
- "sourceLanguages" : [" rust" ]
19
+ "sourceLanguages" : [
20
+ " rust"
21
+ ]
11
22
},
12
23
{
13
24
"type" : " extensionHost" ,
14
25
"request" : " launch" ,
15
26
"name" : " Launch Client" ,
16
27
"runtimeExecutable" : " ${execPath}" ,
17
- "args" : [" --extensionDevelopmentPath=${workspaceRoot}" , " ${workspaceRoot}/examples" ],
18
- "outFiles" : [" ${workspaceRoot}/dist/*.js" ],
28
+ "args" : [
29
+ " --extensionDevelopmentPath=${workspaceRoot}" ,
30
+ " ${workspaceRoot}/examples"
31
+ ],
32
+ "outFiles" : [
33
+ " ${workspaceRoot}/dist/*.js"
34
+ ],
19
35
"preLaunchTask" : {
20
36
"type" : " npm" ,
21
37
"script" : " watch"
31
47
"request" : " launch" ,
32
48
"name" : " Launch Client (Production Flow)" ,
33
49
"runtimeExecutable" : " ${execPath}" ,
34
- "args" : [" --extensionDevelopmentPath=${workspaceRoot}" , " ${workspaceRoot}/examples" ],
35
- "outFiles" : [" ${workspaceRoot}/dist/*.js" ],
50
+ "args" : [
51
+ " --extensionDevelopmentPath=${workspaceRoot}" ,
52
+ " ${workspaceRoot}/examples"
53
+ ],
54
+ "outFiles" : [
55
+ " ${workspaceRoot}/dist/*.js"
56
+ ],
36
57
"preLaunchTask" : {
37
58
"type" : " npm" ,
38
59
"script" : " watch"
52
73
" --extensionTestsPath=${workspaceRoot}/client/out/test/index" ,
53
74
" ${workspaceRoot}/client/testFixture"
54
75
],
55
- "outFiles" : [" ${workspaceRoot}/client/out/test/**/*.js" ]
76
+ "outFiles" : [
77
+ " ${workspaceRoot}/client/out/test/**/*.js"
78
+ ]
56
79
},
57
80
{
58
81
"name" : " Attach to LSP" ,
64
87
"compounds" : [
65
88
{
66
89
"name" : " Client + Server" ,
67
- "configurations" : [" Launch Client" , " Attach to Server" ]
90
+ "configurations" : [
91
+ " Launch Client" ,
92
+ " Attach to Server"
93
+ ]
68
94
}
69
95
]
70
- }
96
+ }
0 commit comments