Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detach debugger in Android Studio

Tags:

In Android Studio, how do you detach the debugger once it's connected and debugging a running app?

In Eclipse, the icon looked like this .

I've been disconnecting the USB cable but that seems like a brute method.

like image 592
miguel Avatar asked Dec 17 '14 01:12

miguel


People also ask

What does Android Debuggable do?

debuggable ). The debuggable flag in the app manifest tells the VM that the app is under development, and connections from debuggers should be allowed whether or not the app is running on a production device.


2 Answers

The answer is the Close button. As of Android Studio v3.4 it's a red square block icon (previously was a red X).

It turns out I couldn't see it because it was hidden under the more >> icon.

like image 87
miguel Avatar answered Sep 27 '22 21:09

miguel


I'm writing this assuming that Android Studio uses the same convention as IntelliJ IDEA.

Click "close" (the button with the red ✕ in the debug panel):

enter image description here

You will be prompted. Choose whether to disconnect and/or terminate:

enter image description here

like image 29
Birchlabs Avatar answered Sep 27 '22 21:09

Birchlabs