microsoft/vscode-react-native
Publicmirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable
.vscode/launch.json
293lines · modecode
| 1 | { |
| 2 | "version": "0.2.0", |
| 3 | "configurations": [ |
| 4 | { |
| 5 | "name": "Launch Extension", |
| 6 | "type": "extensionHost", |
| 7 | "request": "launch", |
| 8 | "runtimeExecutable": "${execPath}", |
| 9 | "args": [ |
| 10 | "--extensionDevelopmentPath=${workspaceRoot}" |
| 11 | ], |
| 12 | "sourceMaps": true, |
| 13 | "outFiles": [ |
| 14 | "${workspaceRoot}/src/**/*.js" |
| 15 | ], |
| 16 | "preLaunchTask": "gulp: build" |
| 17 | }, |
| 18 | { |
| 19 | "name": "Debug Debugger", |
| 20 | "type": "node", |
| 21 | "request": "launch", |
| 22 | "program": "${workspaceRoot}/src/debugger/reactNativeDebugEntryPoint.ts", |
| 23 | "runtimeArgs": [ |
| 24 | "--harmony" |
| 25 | ], |
| 26 | "stopOnEntry": false, |
| 27 | "args": [ |
| 28 | "--server=4712" |
| 29 | ], // Use "debugServer": "4712", on launch.json of the instance to debug |
| 30 | "sourceMaps": true, |
| 31 | "outFiles": [ |
| 32 | "${workspaceRoot}/src/**/*.js" |
| 33 | ], |
| 34 | "preLaunchTask": "gulp: build" |
| 35 | }, |
| 36 | { |
| 37 | "name": "Debug Direct Debugger", |
| 38 | "type": "node", |
| 39 | "request": "launch", |
| 40 | "program": "${workspaceRoot}/src/debugger/direct/reactNativeDirectDebugEntryPoint.ts", |
| 41 | "runtimeArgs": [ |
| 42 | "--harmony" |
| 43 | ], |
| 44 | "stopOnEntry": false, |
| 45 | "args": [ |
| 46 | "--server=4712" |
| 47 | ], // Use "debugServer": "4712", on launch.json of the instance to debug |
| 48 | "sourceMaps": true, |
| 49 | "outFiles": [ |
| 50 | "${workspaceRoot}/src/**/*.js" |
| 51 | ], |
| 52 | "preLaunchTask": "gulp: build" |
| 53 | }, |
| 54 | { |
| 55 | "name": "Quick Launch Extension", |
| 56 | "type": "extensionHost", |
| 57 | "request": "launch", |
| 58 | "runtimeExecutable": "${execPath}", |
| 59 | "args": [ |
| 60 | "--extensionDevelopmentPath=${workspaceRoot}" |
| 61 | ], |
| 62 | "sourceMaps": true, |
| 63 | "outFiles": [ |
| 64 | "${workspaceRoot}/src/**/*.js" |
| 65 | ], |
| 66 | "preLaunchTask": "gulp: quick-build" |
| 67 | }, |
| 68 | { |
| 69 | "name": "Quick Debug Debugger", |
| 70 | "type": "node", |
| 71 | "request": "launch", |
| 72 | "program": "${workspaceRoot}/src/debugger/reactNativeDebugEntryPoint.ts", |
| 73 | "runtimeArgs": [ |
| 74 | "--harmony" |
| 75 | ], |
| 76 | "stopOnEntry": false, |
| 77 | "args": [ |
| 78 | "--server=4712" |
| 79 | ], // Use "debugServer": "4712", on launch.json of the instance to debug |
| 80 | "sourceMaps": true, |
| 81 | "outFiles": [ |
| 82 | "${workspaceRoot}/src/**/*.js" |
| 83 | ], |
| 84 | "preLaunchTask": "gulp: quick-build" |
| 85 | }, |
| 86 | { |
| 87 | "name": "Quick Debug Direct Debugger", |
| 88 | "type": "node", |
| 89 | "request": "launch", |
| 90 | "program": "${workspaceRoot}/src/debugger/direct/reactNativeDirectDebugEntryPoint.ts", |
| 91 | "runtimeArgs": [ |
| 92 | "--harmony" |
| 93 | ], |
| 94 | "stopOnEntry": false, |
| 95 | "args": [ |
| 96 | "--server=4712" |
| 97 | ], // Use "debugServer": "4712", on launch.json of the instance to debug |
| 98 | "sourceMaps": true, |
| 99 | "outFiles": [ |
| 100 | "${workspaceRoot}/src/**/*.js" |
| 101 | ], |
| 102 | "preLaunchTask": "gulp: quick-build" |
| 103 | }, |
| 104 | { |
| 105 | "name": "Launch Extension tests", |
| 106 | "type": "extensionHost", |
| 107 | "request": "launch", |
| 108 | "runtimeExecutable": "${execPath}", |
| 109 | "args": [ |
| 110 | "--extensionDevelopmentPath=${workspaceRoot}", |
| 111 | "--extensionTestsPath=${workspaceRoot}/test" |
| 112 | ], |
| 113 | "stopOnEntry": false, |
| 114 | "sourceMaps": true, |
| 115 | "outFiles": [ |
| 116 | "${workspaceRoot}/src/**/*.js" |
| 117 | ], |
| 118 | "preLaunchTask": "gulp: build" |
| 119 | }, |
| 120 | { |
| 121 | "name": "Launch Localization Tests", |
| 122 | "type": "extensionHost", |
| 123 | "request": "launch", |
| 124 | "runtimeExecutable": "${execPath}", |
| 125 | "args": [ |
| 126 | "--locale=ru", |
| 127 | "--extensionDevelopmentPath=${workspaceRoot}", |
| 128 | "--extensionTestsPath=${workspaceRoot}/test/localization" |
| 129 | ], |
| 130 | "stopOnEntry": false, |
| 131 | "sourceMaps": true, |
| 132 | "outFiles": [ |
| 133 | "${workspaceRoot}/src/**/*.js" |
| 134 | ], |
| 135 | "preLaunchTask": "gulp: build" |
| 136 | }, |
| 137 | { |
| 138 | "name": "Launch Debugger tests", |
| 139 | "type": "node", |
| 140 | "protocol": "inspector", |
| 141 | "request": "launch", |
| 142 | "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", |
| 143 | "stopOnEntry": false, |
| 144 | // Command line arguments passed to the program. |
| 145 | "args": [ |
| 146 | "--ui", |
| 147 | "tdd", |
| 148 | // "--grep", "patternToFilterTestsBy", |
| 149 | "test/debugger/**/*.test.js", |
| 150 | "test/common/**/*.test.js" |
| 151 | ], |
| 152 | "cwd": "${workspaceRoot}", |
| 153 | "runtimeExecutable": null, |
| 154 | "env": { |
| 155 | "NODE_ENV": "development" |
| 156 | }, |
| 157 | "outFiles": [ |
| 158 | "${workspaceRoot}/src/**/*.js" |
| 159 | ], |
| 160 | "sourceMaps": true, |
| 161 | "preLaunchTask": "gulp: quick-build" |
| 162 | }, |
| 163 | { |
| 164 | "type": "node", |
| 165 | "request": "launch", |
| 166 | "protocol": "inspector", |
| 167 | "name": "Launch All Smoke Tests", |
| 168 | "program": "${workspaceFolder}/test/smoke/vscode/test/smoke/node_modules/mocha/bin/_mocha", |
| 169 | "cwd": "${workspaceFolder}/test/smoke/vscode/test/smoke", |
| 170 | "args": [ "--dont-delete-vsix" ], |
| 171 | "timeout": 240000, |
| 172 | "stopOnEntry": false, |
| 173 | "outFiles": [ |
| 174 | "${workspaceRoot}/src/**/*.js" |
| 175 | ], |
| 176 | "sourceMaps": true, |
| 177 | "preLaunchTask": "Prepare Smoke Tests" |
| 178 | }, |
| 179 | { |
| 180 | "type": "node", |
| 181 | "request": "launch", |
| 182 | "protocol": "inspector", |
| 183 | "name": "Launch Android Smoke Tests", |
| 184 | "program": "${workspaceFolder}/test/smoke/vscode/test/smoke/node_modules/mocha/bin/_mocha", |
| 185 | "cwd": "${workspaceFolder}/test/smoke/vscode/test/smoke", |
| 186 | "args": [ |
| 187 | "--dont-delete-vsix", |
| 188 | "--android" |
| 189 | ], |
| 190 | "timeout": 240000, |
| 191 | "stopOnEntry": false, |
| 192 | "outFiles": [ |
| 193 | "${workspaceRoot}/src/**/*.js" |
| 194 | ], |
| 195 | "sourceMaps": true, |
| 196 | "preLaunchTask": "Prepare Smoke Tests" |
| 197 | }, |
| 198 | { |
| 199 | "type": "node", |
| 200 | "request": "launch", |
| 201 | "protocol": "inspector", |
| 202 | "name": "Launch iOS Smoke Tests", |
| 203 | "program": "${workspaceFolder}/test/smoke/vscode/test/smoke/node_modules/mocha/bin/_mocha", |
| 204 | "cwd": "${workspaceFolder}/test/smoke/vscode/test/smoke", |
| 205 | "args": [ |
| 206 | "--dont-delete-vsix", |
| 207 | "--ios" |
| 208 | ], |
| 209 | "timeout": 240000, |
| 210 | "stopOnEntry": false, |
| 211 | "outFiles": [ |
| 212 | "${workspaceRoot}/src/**/*.js" |
| 213 | ], |
| 214 | "sourceMaps": true, |
| 215 | "preLaunchTask": "Prepare Smoke Tests" |
| 216 | }, |
| 217 | { |
| 218 | "type": "node", |
| 219 | "request": "launch", |
| 220 | "protocol": "inspector", |
| 221 | "name": "Launch All Smoke Tests (skip setup)", |
| 222 | "program": "${workspaceFolder}/test/smoke/vscode/test/smoke/node_modules/mocha/bin/_mocha", |
| 223 | "cwd": "${workspaceFolder}/test/smoke/vscode/test/smoke", |
| 224 | "args": [ |
| 225 | "--dont-delete-vsix", |
| 226 | "--skip-setup" |
| 227 | ], |
| 228 | "timeout": 240000, |
| 229 | "stopOnEntry": false, |
| 230 | "outFiles": [ |
| 231 | "${workspaceRoot}/src/**/*.js" |
| 232 | ], |
| 233 | "sourceMaps": true, |
| 234 | "preLaunchTask": "Build Smoke Tests" |
| 235 | }, |
| 236 | { |
| 237 | "type": "node", |
| 238 | "request": "launch", |
| 239 | "protocol": "inspector", |
| 240 | "name": "Launch Android Smoke Tests (skip setup)", |
| 241 | "program": "${workspaceFolder}/test/smoke/vscode/test/smoke/node_modules/mocha/bin/_mocha", |
| 242 | "cwd": "${workspaceFolder}/test/smoke/vscode/test/smoke", |
| 243 | "args": [ |
| 244 | "--dont-delete-vsix", |
| 245 | "--skip-setup", |
| 246 | "--android" |
| 247 | ], |
| 248 | "timeout": 240000, |
| 249 | "stopOnEntry": false, |
| 250 | "outFiles": [ |
| 251 | "${workspaceRoot}/src/**/*.js" |
| 252 | ], |
| 253 | "sourceMaps": true, |
| 254 | "preLaunchTask": "Build Smoke Tests" |
| 255 | }, |
| 256 | { |
| 257 | "type": "node", |
| 258 | "request": "launch", |
| 259 | "protocol": "inspector", |
| 260 | "name": "Launch iOS Smoke Tests (skip setup)", |
| 261 | "program": "${workspaceFolder}/test/smoke/vscode/test/smoke/node_modules/mocha/bin/_mocha", |
| 262 | "cwd": "${workspaceFolder}/test/smoke/vscode/test/smoke", |
| 263 | "args": [ |
| 264 | "--dont-delete-vsix", |
| 265 | "--skip-setup", |
| 266 | "--ios" |
| 267 | ], |
| 268 | "timeout": 240000, |
| 269 | "stopOnEntry": false, |
| 270 | "outFiles": [ |
| 271 | "${workspaceRoot}/src/**/*.js" |
| 272 | ], |
| 273 | "sourceMaps": true, |
| 274 | "preLaunchTask": "Build Smoke Tests" |
| 275 | }, |
| 276 | ], |
| 277 | "compounds": [ |
| 278 | { |
| 279 | "name": "Quick Extension + Debugger", |
| 280 | "configurations": [ |
| 281 | "Quick Launch Extension", |
| 282 | "Quick Debug Debugger" |
| 283 | ] |
| 284 | }, |
| 285 | { |
| 286 | "name": "Quick Extension + Direct Debugger", |
| 287 | "configurations": [ |
| 288 | "Quick Launch Extension", |
| 289 | "Quick Debug Direct Debugger" |
| 290 | ] |
| 291 | } |
| 292 | ] |
| 293 | } |
| 294 | |