microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0.11.1

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/extension/launchArgs.ts

42lines · modeblame

fb2bae06Daniel10 years ago1// 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*/
acf08bc2dlebu10 years ago8export interface ILaunchArgs {
5c8365a6Artem Egorov8 years ago9platform: string;
2e432a9eArtem Egorov8 years ago10workspaceRoot: string;
0db0be15Artem Egorov8 years ago11projectRoot: string;
8022afdfVladimir Kotikov8 years ago12target?: "simulator" | "device";
5547a16fJimmy Thomson10 years ago13debugAdapterPort?: number;
5e651f3edigeff10 years ago14packagerPort?: any;
0db0be15Artem Egorov8 years ago15runArguments?: string[];
e26a1f43Artem Egorov8 years ago16env?: any;
17envFile?: string;
27710197Vladimir Kotikov8 years ago18}
19
20/**
21* Defines the options needed to start debugging a project.
22*/
0db0be15Artem Egorov8 years ago23
24export interface IAndroidRunOptions extends ILaunchArgs {
27710197Vladimir Kotikov8 years ago25variant?: string;
299883f9Artem Egorov8 years ago26logCatArguments?: any;
78c2b4deRedMickey6 years ago27debugLaunchActivity?: string;
0db0be15Artem Egorov8 years ago28}
29
30export interface IIOSRunOptions extends ILaunchArgs {
27710197Vladimir Kotikov8 years ago31scheme?: string;
0db0be15Artem Egorov8 years ago32iosRelativeProjectPath?: string; // TODO Remove deprecated
db6fd42aRuslan Bikkinin7 years ago33productName?: string;
34configuration?: string;
0db0be15Artem Egorov8 years ago35}
36
299883f9Artem Egorov8 years ago37export interface IWindowsRunOptions extends ILaunchArgs {
38}
39
40export interface IRunOptions extends IAndroidRunOptions, IIOSRunOptions, IWindowsRunOptions {
0db0be15Artem Egorov8 years ago41
27710197Vladimir Kotikov8 years ago42}