I tried to debug a release version of my Android application but Android Studio failed to attach a debugger. (It could not find Android procces of my running application).>
Check if Tools->Android->Enable ADB Integration is enabled. Also disable and re-enabling it works most of the times.
Tools->Android->Enable ADB Integration