launch.json 4.1 KB
Newer Older
E
Erich Gamma 已提交
1 2 3
{
	"version": "0.1.0",
	"configurations": [
I
isidor 已提交
4

5 6 7 8 9 10 11 12 13 14 15
		{
			"type": "node",
			"request": "launch",
			"name": "Gulp Build",
			"program": "${workspaceRoot}/node_modules/gulp/bin/gulp.js",
			"stopOnEntry": true,
			"args": [
				"watch-extension:json-client"
			],
			"cwd": "${workspaceRoot}"
		},
E
Erich Gamma 已提交
16 17 18
		{
			"type": "node",
			"request": "attach",
19
			"name": "Attach to Extension Host",
20
			"protocol": "inspector",
M
Matt Bierner 已提交
21
			"port": 5870,
22
			"restart": true,
S
Sandeep Somavarapu 已提交
23 24 25
			"outFiles": [
				"${workspaceRoot}/out/**/*.js"
			]
E
Erich Gamma 已提交
26
		},
J
Joao Moreno 已提交
27 28 29
		{
			"type": "node",
			"request": "attach",
30
			"name": "Attach to Shared Process",
31
			"protocol": "inspector",
J
Joao Moreno 已提交
32
			"port": 5871,
S
Sandeep Somavarapu 已提交
33 34 35
			"outFiles": [
				"${workspaceRoot}/out/**/*.js"
			]
J
Joao Moreno 已提交
36
		},
R
Rob Lourens 已提交
37 38 39
		{
			"type": "node",
			"request": "attach",
40
			"protocol": "inspector",
R
Rob Lourens 已提交
41 42 43 44 45 46
			"name": "Attach to Search process",
			"port": 7890,
			"outFiles": [
				"${workspaceRoot}/out/**/*.js"
			]
		},
J
Joao Moreno 已提交
47 48 49
		{
			"type": "node",
			"request": "attach",
50
			"name": "Attach to CLI Process",
51
			"protocol": "inspector",
J
Joao Moreno 已提交
52
			"port": 5874,
S
Sandeep Somavarapu 已提交
53 54 55
			"outFiles": [
				"${workspaceRoot}/out/**/*.js"
			]
J
Joao Moreno 已提交
56
		},
57 58 59 60
		{
			"type": "node",
			"request": "attach",
			"name": "Attach to Main Process",
61
			"protocol": "inspector",
62 63 64 65 66
			"port": 5875,
			"outFiles": [
				"${workspaceRoot}/out/**/*.js"
			]
		},
R
Ramya Achutha Rao 已提交
67 68 69 70 71 72 73 74 75 76 77 78 79 80
		{
			"type": "extensionHost",
			"request": "launch",
			"name": "VS Code Emmet Tests",
			"runtimeExecutable": "${execPath}",
			"args": [
				"${workspaceRoot}/extensions/emmet/test-fixtures",
				"--extensionDevelopmentPath=${workspaceRoot}/extensions/emmet",
				"--extensionTestsPath=${workspaceRoot}/extensions/emmet/out/test"
			],
			"outFiles": [
				"${workspaceRoot}/out/**/*.js"
			]
		},
E
Erich Gamma 已提交
81 82 83
		{
			"type": "extensionHost",
			"request": "launch",
84
			"name": "VS Code API Tests",
E
Erich Gamma 已提交
85 86 87 88 89 90
			"runtimeExecutable": "${execPath}",
			"args": [
				"${workspaceRoot}/extensions/vscode-api-tests/testWorkspace",
				"--extensionDevelopmentPath=${workspaceRoot}/extensions/vscode-api-tests",
				"--extensionTestsPath=${workspaceRoot}/extensions/vscode-api-tests/out"
			],
S
Sandeep Somavarapu 已提交
91 92 93
			"outFiles": [
				"${workspaceRoot}/out/**/*.js"
			]
94
		},
95 96 97
		{
			"type": "extensionHost",
			"request": "launch",
98
			"name": "VS Code Tokenizer Tests",
99 100 101 102 103 104
			"runtimeExecutable": "${execPath}",
			"args": [
				"${workspaceRoot}/extensions/vscode-colorize-tests/test",
				"--extensionDevelopmentPath=${workspaceRoot}/extensions/vscode-colorize-tests",
				"--extensionTestsPath=${workspaceRoot}/extensions/vscode-colorize-tests/out"
			],
S
Sandeep Somavarapu 已提交
105 106 107
			"outFiles": [
				"${workspaceRoot}/out/**/*.js"
			]
108
		},
109 110 111
		{
			"type": "chrome",
			"request": "attach",
112
			"name": "Attach to VS Code",
113
			"port": 9222
114 115 116 117
		},
		{
			"type": "chrome",
			"request": "launch",
118
			"name": "Launch VS Code",
119 120 121 122 123 124 125 126
			"windows": {
				"runtimeExecutable": "${workspaceRoot}/scripts/code.bat"
			},
			"osx": {
				"runtimeExecutable": "${workspaceRoot}/scripts/code.sh"
			},
			"linux": {
				"runtimeExecutable": "${workspaceRoot}/scripts/code.sh"
127
			},
128 129
			"urlFilter": "*index.html*",
			"runtimeArgs": [
130
				"--inspect=5875"
131 132
			],
			"webRoot": "${workspaceRoot}"
133 134 135 136 137 138 139 140 141 142 143 144
		},
		{
			"type": "node",
			"request": "launch",
			"name": "Git Unit Tests",
			"protocol": "inspector",
			"program": "${workspaceRoot}/extensions/git/node_modules/mocha/bin/_mocha",
			"stopOnEntry": false,
			"cwd": "${workspaceRoot}/extensions/git",
			"outFiles": [
				"${workspaceRoot}/extensions/git/out/**/*.js"
			]
M
Matt Bierner 已提交
145
		},
146 147 148 149
		{
			"type": "node",
			"request": "launch",
			"name": "Unit Tests",
150
			"protocol": "inspector",
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
			"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
			"runtimeExecutable": "${workspaceRoot}/.build/electron/Code - OSS.app/Contents/MacOS/Electron",
			"windows": {
				"runtimeExecutable": "${workspaceRoot}/.build/electron/Code - OSS.exe"
			},
			"linux": {
				"runtimeExecutable": "${workspaceRoot}/.build/electron/code-oss"
			},
			"stopOnEntry": false,
			"args": [
				"--timeout",
				"2000"
			],
			"cwd": "${workspaceRoot}",
			"env": {
				"ELECTRON_RUN_AS_NODE": "true"
			},
			"outFiles": [
				"${workspaceRoot}/out/**/*.js"
			]
171 172 173 174 175
		}
	],
	"compounds": [
		{
			"name": "Debug VS Code Main and Renderer",
176 177 178 179
			"configurations": [
				"Launch VS Code",
				"Attach to Main Process"
			]
E
Erich Gamma 已提交
180 181 182
		}
	]
}