1+ // A launch configuration that compiles the extension and then opens it inside a new window
2+ {
3+ "version" : " 0.2.0" ,
4+ "configurations" : [
5+ {
6+ "name" : " Launch Extension (vscode-codeql)" ,
7+ "type" : " extensionHost" ,
8+ "request" : " launch" ,
9+ "runtimeExecutable" : " ${execPath}" ,
10+ "args" : [
11+ " --extensionDevelopmentPath=${workspaceRoot}/dist/vscode-codeql" ,
12+ " --disable-extensions"
13+ ],
14+ "stopOnEntry" : false ,
15+ "sourceMaps" : true ,
16+ "outFiles" : [
17+ " ${workspaceRoot}/dist/vscode-codeql/out/**/*.js" ,
18+ " ${workspaceRoot}/dist/vscode-codeql/node_modules/semmle-bqrs/out/**/*.js" ,
19+ " ${workspaceRoot}/dist/vscode-codeql/node_modules/semmle-io/out/**/*.js" ,
20+ " ${workspaceRoot}/dist/vscode-codeql/node_modules/semmle-io-node/out/**/*.js" ,
21+ " ${workspaceRoot}/dist/vscode-codeql/node_modules/semmle-vscode-utils/out/**/*.js"
22+ ],
23+ "preLaunchTask" : " Build"
24+ },
25+ {
26+ "name" : " Launch Unit Tests (vscode-codeql)" ,
27+ "type" : " extensionHost" ,
28+ "request" : " launch" ,
29+ "runtimeExecutable" : " ${execPath}" ,
30+ "args" : [
31+ " --extensionDevelopmentPath=${workspaceRoot}/dist/vscode-codeql" ,
32+ " --extensionTestsPath=${workspaceRoot}/extensions/ql-vscode/out/test" ,
33+ " --disable-extensions"
34+ ],
35+ "stopOnEntry" : false ,
36+ "sourceMaps" : true ,
37+ "outFiles" : [
38+ " ${workspaceRoot}/dist/vscode-codeql/out/**/*.js" ,
39+ " ${workspaceRoot}/dist/vscode-codeql/node_modules/semmle-bqrs/out/**/*.js" ,
40+ " ${workspaceRoot}/dist/vscode-codeql/node_modules/semmle-io/out/**/*.js" ,
41+ " ${workspaceRoot}/dist/vscode-codeql/node_modules/semmle-io-node/out/**/*.js" ,
42+ " ${workspaceRoot}/dist/vscode-codeql/node_modules/semmle-vscode-utils/out/**/*.js" ,
43+ " ${workspaceRoot}/extensions/ql-vscode/out/test/**/*.js"
44+ ],
45+ "preLaunchTask" : " Build"
46+ },
47+ {
48+ "name" : " Launch Integration Tests - No Workspace (vscode-codeql)" ,
49+ "type" : " extensionHost" ,
50+ "request" : " launch" ,
51+ "runtimeExecutable" : " ${execPath}" ,
52+ "args" : [
53+ " --extensionDevelopmentPath=${workspaceRoot}/dist/vscode-codeql" ,
54+ " --extensionTestsPath=${workspaceRoot}/extensions/ql-vscode/out/vscode-tests/no-workspace/index" ,
55+ " --disable-extensions"
56+ ],
57+ "stopOnEntry" : false ,
58+ "sourceMaps" : true ,
59+ "outFiles" : [
60+ " ${workspaceRoot}/dist/vscode-codeql/out/**/*.js" ,
61+ " ${workspaceRoot}/extensions/ql-vscode/out/vscode-tests/**/*.js"
62+ ],
63+ "preLaunchTask" : " Build"
64+ },
65+ {
66+ "name" : " Launch Integration Tests - Minimal Workspace (vscode-codeql)" ,
67+ "type" : " extensionHost" ,
68+ "request" : " launch" ,
69+ "runtimeExecutable" : " ${execPath}" ,
70+ "args" : [
71+ " --extensionDevelopmentPath=${workspaceRoot}/dist/vscode-codeql" ,
72+ " --extensionTestsPath=${workspaceRoot}/extensions/ql-vscode/out/vscode-tests/minimal-workspace/index" ,
73+ " ${workspaceRoot}/extensions/ql-vscode/test/data" ,
74+ ],
75+ "stopOnEntry" : false ,
76+ "sourceMaps" : true ,
77+ "outFiles" : [
78+ " ${workspaceRoot}/dist/vscode-codeql/out/**/*.js" ,
79+ " ${workspaceRoot}/extensions/ql-vscode/out/vscode-tests/**/*.js"
80+ ],
81+ "preLaunchTask" : " Build"
82+ }
83+ ]
84+ }
0 commit comments