Skip to content

Implement debug-brk functionality support #763

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 23, 2017
Merged

Conversation

petekanev
Copy link
Contributor

@petekanev petekanev commented May 19, 2017

Implement debug-brk support by reading a flag on app startup (in a debuggable application). If the check passes the app will be paused until the frontend DevTools client connects (opening the chrome-devtools://devtools/bundled/inspector.html?experiments=true&ws=localhost:PORT link in Chrome), or for as long as 30 seconds, after which the application will continue execution.

Addresses NativeScript/nativescript-cli#2741

@petekanev petekanev added this to the 3.1.0 milestone May 19, 2017
@ns-bot
Copy link

ns-bot commented May 19, 2017

💚

@@ -6,6 +6,7 @@
import android.content.pm.PackageManager.NameNotFoundException;
import android.os.Build;
import android.util.Log;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0

@petekanev petekanev merged commit d2557c8 into master May 23, 2017
@petekanev petekanev deleted the pete/debug-brk branch May 23, 2017 07:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants