I know we can press Ctrl + F2 to detach the debugger but is there a shortcut to attach debugger in android studio?
Asked
Active
Viewed 3,297 times
2 Answers
8
You can add a mapping for it in Android Studio:
Preferences > Keymap > Search for 'Attach debugger' or navigate the tree to: Main menu > Run > Attach debugger to Android process.
Then just add your preferred mapping. I think it's none on a fresh install of studio. Good luck!
![](../../users/profiles/4826457.webp)
Suraj Rao
- 28,186
- 10
- 88
- 94
![](../../users/profiles/2110353.webp)
korrekorre
- 975
- 10
- 23
-
I wish there could be and option to remember the device and auto attach the debuggers just like we have at the time of running the app. Anyways thanks! – Ashwani Kumar Apr 20 '17 at 11:14
0
in Android studio's toolbar there is a Attach Debugger Shortcut, shown in the image (poorly edited in MS Paint) .
![](../../users/profiles/7666936.webp)
Akshay More
- 378
- 3
- 9