Skip to content

Do not select automatically on which android device to start debug #2952

@rosen-vladimirov

Description

@rosen-vladimirov

Tell us about the problem

Currently when there are Android device(s) and/or emulators (at least two in the combination) are connected, tns debug android command will start debug process on emulator (or start a new emulator and start debug process on it).

Instead we would like to force the user to select the device via --device flag.

Which platform(s) does your issue occur on?

Android

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.1.x

Please tell us how to recreate the issue in as much detail as possible.

  1. Create new project
  2. Start attach two Android devices
  3. Run tns debug android - this will start a new emulator and will start debug session on it.
    In fact this should fail and tell the user to use --device flag.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions