Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug command builds and installs the app twice #722

Closed
vchimev opened this issue Jul 30, 2015 · 3 comments
Closed

Debug command builds and installs the app twice #722

vchimev opened this issue Jul 30, 2015 · 3 comments
Labels
Milestone

Comments

@vchimev
Copy link

vchimev commented Jul 30, 2015

tns debug <platform> --debug-brk build and installs the app twice

Steps to reproduce:
tns create testApp
cd testApp
tns platform add android --frameworkPath
tns debug android --debug-brk --emulator

Console Log: https://gist.github.com/vchimev/9587d957355e40d1bc7a

@vchimev vchimev added the bug label Jul 30, 2015
@vchimev vchimev added this to the 1.2.2 milestone Jul 30, 2015
@vchimev vchimev changed the title Debug command builds the app twice Debug command builds and install the app twice Jul 30, 2015
@vchimev vchimev changed the title Debug command builds and install the app twice Debug command builds and installs the app twice Jul 30, 2015
@vchimev
Copy link
Author

vchimev commented Jul 30, 2015

Related to #475.

@vchimev
Copy link
Author

vchimev commented Aug 5, 2015

The issue with building and installing the app twice is fixed, but the debugger does not launch following the steps above.

Console Log: https://gist.github.com/vchimev/68086fd0b535e5e4b361

@vchimev
Copy link
Author

vchimev commented Aug 5, 2015

It looks that the default timeout for the debugger to establish connection with the device/emulator when launching an emulator for the first time could not be enough. Therefore for version 1.2.2 the default timeout will increase from 60 to 90 seconds. If this would not be enough, --timeout option could be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants