microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
.vscode/launch.json
109lines · 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": "Sample - Android App", |
| 40 | "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js", |
| 41 | "type": "node", |
| 42 | "request": "launch", |
| 43 | "args": [ |
| 44 | "android" |
| 45 | ], |
| 46 | "runtimeArgs": [ |
| 47 | "--nolazy" |
| 48 | ], |
| 49 | "sourceMaps": true, |
| 50 | "outDir": "${workspaceRoot}/SampleApplication/.vscode/.react/" |
| 51 | }, |
| 52 | { |
| 53 | "name": "Sample - iOS App", |
| 54 | "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js", |
| 55 | "type": "node", |
| 56 | "request": "launch", |
| 57 | "args": [ |
| 58 | "ios" |
| 59 | ], |
| 60 | "runtimeArgs": [ |
| 61 | "--nolazy" |
| 62 | ], |
| 63 | "sourceMaps": true, |
| 64 | "outDir": "${workspaceRoot}/SampleApplication/.vscode/.react/" |
| 65 | }, |
| 66 | { |
| 67 | "name": "Sample - Android Extension", |
| 68 | "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js", |
| 69 | "type": "node", |
| 70 | "request": "launch", |
| 71 | "args": [ |
| 72 | "android" |
| 73 | ], |
| 74 | "runtimeArgs": [ |
| 75 | "--nolazy" |
| 76 | ], |
| 77 | "sourceMaps": true, |
| 78 | "outDir": "${workspaceRoot}/out/" |
| 79 | }, |
| 80 | { |
| 81 | "name": "Sample - iOS Extension", |
| 82 | "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js", |
| 83 | "type": "node", |
| 84 | "request": "launch", |
| 85 | "args": [ |
| 86 | "ios" |
| 87 | ], |
| 88 | "runtimeArgs": [ |
| 89 | "--nolazy" |
| 90 | ], |
| 91 | "sourceMaps": true, |
| 92 | "outDir": "${workspaceRoot}/out/" |
| 93 | }, |
| 94 | { |
| 95 | "name": "Launch Tests", |
| 96 | "type": "extensionHost", |
| 97 | "request": "launch", |
| 98 | "runtimeExecutable": "${execPath}", |
| 99 | "args": [ |
| 100 | "--extensionDevelopmentPath=${workspaceRoot}", |
| 101 | "--extensionTestsPath=${workspaceRoot}/out/test" |
| 102 | ], |
| 103 | "stopOnEntry": false, |
| 104 | "sourceMaps": true, |
| 105 | "outDir": "${workspaceRoot}/out", |
| 106 | "preLaunchTask": "build" |
| 107 | } |
| 108 | ] |
| 109 | } |