question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to debug at all on Android

See original GitHub issue

When I run tns debug android --debug-brk --log trace, the build process runs and the app is launched on the device (or emulator if no device is plugged in), and then it immediately crashes (presumably because of a bug in my code somewhere). Chrome is not launched, and there is nothing listening on port 8080.

Output is here: https://gist.github.com/brianchirls/60b4fc05e225ace40f38

Possibly related to #359, but probably not the same thing, since that guy can get it working on his device and I can’t.

Also, in all the commands in the debugger documentation, “android” is misspelled as “andorid.”

tns debug andorid --debug-brk

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
WagnerSilveiracommented, Jun 12, 2016

@sushruth

Close you application, and launch it again in your phone and then refresh your dbug page http://127.0.0.1:8080/debug?port=40000 It is not a solution, but someway you can test your aplication dtopuzov commented on 21 Jul 2015 “Closing this issue, see #661” Regards

0reactions
sushruthcommented, May 31, 2016

Please give more information about why an issue has been closed. I went looking through all the related issues about this and could not find any useful information.

I still see this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not Able To Debug App In Android Studio - Stack Overflow
One case where you can be unable to debug an application in Android Studio is when you have the "release" build variant selected....
Read more >
Debug your app - Android Developers
Android Studio provides a debugger that allows you to do the following and more: Select a device to debug your app on. Set...
Read more >
Can't start debugging for Android application with error ...
Unable to start debugging. The system cannot find the file specified. I am running Windows 7 and Visual Studio 2017 and have applied...
Read more >
Unable to debug blank application on Android 12
Hi. As the title says, I cannot debug any Delphi FMX application on my Android phone. I'm using the latest Delphi version (Alexandria, ......
Read more >
Unable to debug native code in android studio [37133436]
break points in c++ code are not hit by debugger. Tried experimental gradle but that doesn't make any difference. I read the whole...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found