microsoft/vscode-react-native
Publicmirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable
test/SampleApplication/.vscode/launchReactNative.js
12lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. |
| 3 | |
| 4 | // This file is automatically generated. version:0.0.1 |
| 5 | try { |
| 6 | var path = require("path"); |
| 7 | var Launcher = require("../../../out/debugger/launcher.js").Launcher; |
| 8 | new Launcher(path.resolve(__dirname, "..")).launch(); |
| 9 | } |
| 10 | catch (e) { |
| 11 | throw new Error("Unable to launch application. Try deleting .vscode/launchReactNative.js and restarting vscode."); |
| 12 | } |