Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
CLI: 6.0.1
Cross-platform modules: 6.0.1
Android Runtime: 6.0.0
iOS Runtime: 6.0.1
VSCode: 1.36.1
Describe the bug
On Android when debug is started with launch request and there is no connected device, an emulator is started. When debugging is stopped, the emulator is killed.
To Reproduce
Execute tns create anywhere and create a project.
Open VS Code with the project.
Configure launch.json for NativeScript
Click Launch on Android.
Once app is launched, click on the stop icon.
The emulator is killed.
Expected behavior
The emulator stays running.
Additional context
This doesn't happen with tns run android. It can't be reproduced with iOS.
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug On Android when debug is started with launch request and there is no connected device, an emulator is started. When debugging is stopped, the emulator is killed.
To Reproduce
tns create
anywhere and create a project.Launch on Android
.The emulator is killed.
Expected behavior The emulator stays running.
Additional context This doesn't happen with
tns run android
. It can't be reproduced with iOS.