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 6,222 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!

Suraj Rao
- 29,388
- 11
- 94
- 103

korrekorre
- 1,025
- 11
- 24
-
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) .

Akshay More
- 416
- 4
- 9