microsoft/vscode-react-native
Publicmirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable
.vscode/launch.json
99lines · 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": "Debug Debugger", |
| 18 | "type": "node", |
| 19 | "request": "launch", |
| 20 | "program": "${workspaceRoot}/out/debugger/nodeDebugWrapper.js", |
| 21 | "runtimeArgs": ["--harmony"], |
| 22 | "stopOnEntry": false, |
| 23 | "args": [ "--server=4712" ], // Use "debugServer": "4712" on launch.json of the instance to debug |
| 24 | "sourceMaps": true, |
| 25 | "outDir": "${workspaceRoot}/out", |
| 26 | "preLaunchTask": "build" |
| 27 | }, |
| 28 | { |
| 29 | "name": "Sample - Android App", |
| 30 | "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js", |
| 31 | "type": "node", |
| 32 | "request": "launch", |
| 33 | "args": [ |
| 34 | "android" |
| 35 | ], |
| 36 | "runtimeArgs": [ |
| 37 | "--nolazy" |
| 38 | ], |
| 39 | "sourceMaps": true, |
| 40 | "outDir": "${workspaceRoot}/SampleApplication/.vscode/.react/" |
| 41 | }, |
| 42 | { |
| 43 | "name": "Sample - iOS App", |
| 44 | "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js", |
| 45 | "type": "node", |
| 46 | "request": "launch", |
| 47 | "args": [ |
| 48 | "ios" |
| 49 | ], |
| 50 | "runtimeArgs": [ |
| 51 | "--nolazy" |
| 52 | ], |
| 53 | "sourceMaps": true, |
| 54 | "outDir": "${workspaceRoot}/SampleApplication/.vscode/.react/" |
| 55 | }, |
| 56 | { |
| 57 | "name": "Sample - Android Extension", |
| 58 | "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js", |
| 59 | "type": "node", |
| 60 | "request": "launch", |
| 61 | "args": [ |
| 62 | "android" |
| 63 | ], |
| 64 | "runtimeArgs": [ |
| 65 | "--nolazy" |
| 66 | ], |
| 67 | "sourceMaps": true, |
| 68 | "outDir": "${workspaceRoot}/out/" |
| 69 | }, |
| 70 | { |
| 71 | "name": "Sample - iOS Extension", |
| 72 | "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js", |
| 73 | "type": "node", |
| 74 | "request": "launch", |
| 75 | "args": [ |
| 76 | "ios" |
| 77 | ], |
| 78 | "runtimeArgs": [ |
| 79 | "--nolazy" |
| 80 | ], |
| 81 | "sourceMaps": true, |
| 82 | "outDir": "${workspaceRoot}/out/" |
| 83 | }, |
| 84 | { |
| 85 | "name": "Launch Tests", |
| 86 | "type": "extensionHost", |
| 87 | "request": "launch", |
| 88 | "runtimeExecutable": "${execPath}", |
| 89 | "args": [ |
| 90 | "--extensionDevelopmentPath=${workspaceRoot}", |
| 91 | "--extensionTestsPath=${workspaceRoot}/out/test" |
| 92 | ], |
| 93 | "stopOnEntry": false, |
| 94 | "sourceMaps": true, |
| 95 | "outDir": "${workspaceRoot}/out", |
| 96 | "preLaunchTask": "build" |
| 97 | } |
| 98 | ] |
| 99 | } |