microsoft/vscode-react-native

Public

mirrored from https://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
2f5c780b48e947355237c6b5c511f3d3f18a6875

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/extension/launchArgs.ts

43lines · 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 isDirect?: boolean;
19}
20
21/**
22 * Defines the options needed to start debugging a project.
23 */
24
25export interface IAndroidRunOptions extends ILaunchArgs {
26 variant?: string;
27 logCatArguments?: any;
28 debugLaunchActivity?: string;
29}
30
31export interface IIOSRunOptions extends ILaunchArgs {
32 scheme?: string;
33 iosRelativeProjectPath?: string; // TODO Remove deprecated
34 productName?: string;
35 configuration?: string;
36}
37
38export interface IWindowsRunOptions extends ILaunchArgs {
39}
40
41export interface IRunOptions extends IAndroidRunOptions, IIOSRunOptions, IWindowsRunOptions {
42
43}