microsoft/vscode-react-native

Public

mirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0.13.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/extension/launchArgs.ts

44lines · 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/**
5 * Defines the supported launch arguments.
6 * Add more arguments here as needed.
7 */
8export interface ILaunchArgs {
9 platform: string;
10 workspaceRoot: string;
11 projectRoot: string;
12 reactNativeVersion: string;
13 target?: "simulator" | "device";
14 debugAdapterPort?: number;
15 packagerPort?: any;
16 runArguments?: string[];
17 env?: any;
18 envFile?: string;
19 isDirect?: boolean;
20}
21
22/**
23 * Defines the options needed to start debugging a project.
24 */
25
26export interface IAndroidRunOptions extends ILaunchArgs {
27 variant?: string;
28 logCatArguments?: any;
29 debugLaunchActivity?: string;
30}
31
32export interface IIOSRunOptions extends ILaunchArgs {
33 scheme?: string;
34 iosRelativeProjectPath?: string; // TODO Remove deprecated
35 productName?: string;
36 configuration?: string;
37}
38
39export interface IWindowsRunOptions extends ILaunchArgs {
40}
41
42export interface IRunOptions extends IAndroidRunOptions, IIOSRunOptions, IWindowsRunOptions {
43
44}
45