microsoft/vscode-react-native

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0.5.2

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/extension/launchArgs.ts

34lines · 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;
710f8655digeff10 years ago14logCatArguments?: any;
5e651f3edigeff10 years ago15packagerPort?: any;
0db0be15Artem Egorov8 years ago16runArguments?: string[];
27710197Vladimir Kotikov8 years ago17}
18
19/**
20* Defines the options needed to start debugging a project.
21*/
0db0be15Artem Egorov8 years ago22
23export interface IAndroidRunOptions extends ILaunchArgs {
27710197Vladimir Kotikov8 years ago24variant?: string;
0db0be15Artem Egorov8 years ago25}
26
27export interface IIOSRunOptions extends ILaunchArgs {
27710197Vladimir Kotikov8 years ago28scheme?: string;
0db0be15Artem Egorov8 years ago29iosRelativeProjectPath?: string; // TODO Remove deprecated
30}
31
32export interface IRunOptions extends IAndroidRunOptions, IIOSRunOptions {
33
27710197Vladimir Kotikov8 years ago34}