Description
Currently some emulators are not recongnized as emulators and CLI is not working correctly with them
The problem manifests itself in VS Code where there are two options for debug "Launch on Android Device" and "Launch on Android Emulator". In other words there is no way for the user to use plain commands like "tns debug android" and is always specifying --emulator or --device.
The problem is the user is required to use "Launch on Android Device" for some emulators (Visual Studio Android Emulator is one) in order to get the debug session working.
For every command the CLI receives it issues multiple adb commands to the device. The correct way to work is to respect the "--emulator" given to the tns command and use "adb -e" for every adb command send to the device. This way all Android emulators will work correctly and the user will be happy selecting "Launch on Android Emulator" as expected.
this is somewhat related to #1763 since this will fix it.