microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0bfa4e58a91c5a692df46886a7dbb23ba6c1be3d

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/extension/launchArgs.ts

41lines · 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 target?: "simulator" | "device";
13 debugAdapterPort?: number;
14 packagerPort?: any;
15 runArguments?: string[];
16 env?: any;
17 envFile?: string;
18}
19
20/**
21 * Defines the options needed to start debugging a project.
22 */
23
24export interface IAndroidRunOptions extends ILaunchArgs {
25 variant?: string;
26 logCatArguments?: any;
27}
28
29export interface IIOSRunOptions extends ILaunchArgs {
30 scheme?: string;
31 iosRelativeProjectPath?: string; // TODO Remove deprecated
32 productName?: string;
33 configuration?: string;
34}
35
36export interface IWindowsRunOptions extends ILaunchArgs {
37}
38
39export interface IRunOptions extends IAndroidRunOptions, IIOSRunOptions, IWindowsRunOptions {
40
41}
42