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 · modepreview

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.

/**
 * Defines the supported launch arguments.
 * Add more arguments here as needed.
 */
export interface ILaunchArgs {
    platform: string;
    workspaceRoot: string;
    projectRoot: string;
    reactNativeVersion: string;
    target?: "simulator" | "device";
    debugAdapterPort?: number;
    packagerPort?: any;
    runArguments?: string[];
    env?: any;
    envFile?: string;
    isDirect?: boolean;
}

/**
 * Defines the options needed to start debugging a project.
 */

export interface IAndroidRunOptions extends ILaunchArgs {
    variant?: string;
    logCatArguments?: any;
    debugLaunchActivity?: string;
}

export interface IIOSRunOptions extends ILaunchArgs {
    scheme?: string;
    iosRelativeProjectPath?: string; // TODO Remove deprecated
    productName?: string;
    configuration?: string;
}

export interface IWindowsRunOptions extends ILaunchArgs {
}

export interface IRunOptions extends IAndroidRunOptions, IIOSRunOptions, IWindowsRunOptions  {

}