microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0.5.1

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/extension/launchArgs.ts

34lines · 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 logCatArguments?: any;
15 packagerPort?: any;
16 runArguments?: string[];
17}
18
19/**
20 * Defines the options needed to start debugging a project.
21 */
22
23export interface IAndroidRunOptions extends ILaunchArgs {
24 variant?: string;
25}
26
27export interface IIOSRunOptions extends ILaunchArgs {
28 scheme?: string;
29 iosRelativeProjectPath?: string; // TODO Remove deprecated
30}
31
32export interface IRunOptions extends IAndroidRunOptions, IIOSRunOptions {
33
34}
35