microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
.vscode/launch.json
110lines · 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 | "outDir": "${workspaceRoot}/out", |
| 14 | "preLaunchTask": "build" |
| 15 | }, |
| 16 | { |
| 17 | "name": "mock-debug server", |
| 18 | "type": "node", |
| 19 | "request": "launch", |
| 20 | "runtimeArgs": [ |
| 21 | "--harmony" |
| 22 | ], |
| 23 | "program": "${workspaceRoot}/src/mockDebug.ts", |
| 24 | "stopOnEntry": false, |
| 25 | "args": [ |
| 26 | "--server=4711" |
| 27 | ], |
| 28 | "sourceMaps": true, |
| 29 | "outDir": "${workspaceRoot}/out" |
| 30 | }, |
| 31 | { |
| 32 | "name": "mock test", |
| 33 | "type": "node", |
| 34 | "request": "launch", |
| 35 | "program": "${workspaceRoot}/README.md", |
| 36 | "stopOnEntry": true |
| 37 | }, |
| 38 | { |
| 39 | "name": "Run Tests", |
| 40 | "type": "node", |
| 41 | "request": "launch", |
| 42 | "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", |
| 43 | "args": [ |
| 44 | "./out/tests", |
| 45 | "--timeout", |
| 46 | "999999", |
| 47 | "--colors" |
| 48 | ], |
| 49 | "sourceMaps": true, |
| 50 | "outDir": "${workspaceRoot}/out/", |
| 51 | "preLaunchTask": "build" |
| 52 | }, |
| 53 | { |
| 54 | "name": "Sample - Android App", |
| 55 | "program": "${workspaceRoot}/test/SampleApplication/.vscode/launchReactNative.js", |
| 56 | "type": "node", |
| 57 | "request": "launch", |
| 58 | "args": [ |
| 59 | "android" |
| 60 | ], |
| 61 | "runtimeArgs": [ |
| 62 | "--nolazy" |
| 63 | ], |
| 64 | "sourceMaps": true, |
| 65 | "outDir": "${workspaceRoot}/test/SampleApplication/.vscode/.react/" |
| 66 | }, |
| 67 | { |
| 68 | "name": "Sample - iOS App", |
| 69 | "program": "${workspaceRoot}/test/SampleApplication/.vscode/launchReactNative.js", |
| 70 | "type": "node", |
| 71 | "request": "launch", |
| 72 | "args": [ |
| 73 | "ios" |
| 74 | ], |
| 75 | "runtimeArgs": [ |
| 76 | "--nolazy" |
| 77 | ], |
| 78 | "sourceMaps": true, |
| 79 | "outDir": "${workspaceRoot}/test/SampleApplication/.vscode/.react/" |
| 80 | }, |
| 81 | { |
| 82 | "name": "Sample - Android Extension", |
| 83 | "program": "${workspaceRoot}/test/SampleApplication/.vscode/launchReactNative.js", |
| 84 | "type": "node", |
| 85 | "request": "launch", |
| 86 | "args": [ |
| 87 | "android" |
| 88 | ], |
| 89 | "runtimeArgs": [ |
| 90 | "--nolazy" |
| 91 | ], |
| 92 | "sourceMaps": true, |
| 93 | "outDir": "${workspaceRoot}/out/" |
| 94 | }, |
| 95 | { |
| 96 | "name": "Sample - iOS Extension", |
| 97 | "program": "${workspaceRoot}/test/SampleApplication/.vscode/launchReactNative.js", |
| 98 | "type": "node", |
| 99 | "request": "launch", |
| 100 | "args": [ |
| 101 | "ios" |
| 102 | ], |
| 103 | "runtimeArgs": [ |
| 104 | "--nolazy" |
| 105 | ], |
| 106 | "sourceMaps": true, |
| 107 | "outDir": "${workspaceRoot}/out/" |
| 108 | } |
| 109 | ] |
| 110 | } |