microsoft/vscode-react-native
Publicmirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable
.vscode/launch.json
83lines · 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": "Quick Launch Extension", |
| 20 | "type": "extensionHost", |
| 21 | "request": "launch", |
| 22 | "runtimeExecutable": "${execPath}", |
| 23 | "args": [ |
| 24 | "--extensionDevelopmentPath=${workspaceRoot}" |
| 25 | ], |
| 26 | "sourceMaps": true, |
| 27 | "outFiles": [ |
| 28 | "${workspaceRoot}/src/**/*.js" |
| 29 | ] |
| 30 | }, |
| 31 | { |
| 32 | "name": "Launch Extension tests", |
| 33 | "type": "extensionHost", |
| 34 | "request": "launch", |
| 35 | "runtimeExecutable": "${execPath}", |
| 36 | "args": [ |
| 37 | "${workspaceFolder}/test/resources/sampleReactNativeProject", |
| 38 | "--extensionDevelopmentPath=${workspaceRoot}", |
| 39 | "--extensionTestsPath=${workspaceRoot}/test" |
| 40 | ], |
| 41 | "sourceMaps": true, |
| 42 | "outFiles": [ |
| 43 | "${workspaceRoot}/src/**/*.js" |
| 44 | ], |
| 45 | "preLaunchTask": "gulp: build" |
| 46 | }, |
| 47 | { |
| 48 | "name": "Launch Localization Tests", |
| 49 | "type": "extensionHost", |
| 50 | "request": "launch", |
| 51 | "runtimeExecutable": "${execPath}", |
| 52 | "args": [ |
| 53 | "--locale=zh-cn", |
| 54 | "--extensionDevelopmentPath=${workspaceRoot}", |
| 55 | "--extensionTestsPath=${workspaceRoot}/test/localization" |
| 56 | ], |
| 57 | "sourceMaps": true, |
| 58 | "outFiles": [ |
| 59 | "${workspaceRoot}/src/**/*.js" |
| 60 | ], |
| 61 | "preLaunchTask": "gulp: build" |
| 62 | }, |
| 63 | { |
| 64 | "name": "Launch Smoke Tests", |
| 65 | "type": "node", |
| 66 | "request": "launch", |
| 67 | "program": "${workspaceFolder}/test/smoke/node_modules/mocha/bin/_mocha", |
| 68 | "cwd": "${workspaceFolder}/test/smoke", |
| 69 | "args": [ |
| 70 | "--config ./.mocharc.js ", |
| 71 | "--reporter mocha-multi-reporters" |
| 72 | ], |
| 73 | "timeout": 240000, |
| 74 | "stopOnEntry": false, |
| 75 | "outFiles": [ |
| 76 | "${workspaceFolder}/test/smoke/out/**/*.js" |
| 77 | ], |
| 78 | "sourceMaps": true, |
| 79 | "preLaunchTask": "npm: compile-smoke-tests" |
| 80 | } |
| 81 | ], |
| 82 | "compounds": [] |
| 83 | } |