@mcc The most common approach would be to hookup the app to Firebase Crashlytics, and then your ANR traces will end up in the cloud.
I think your odds of getting ADB connected and logcat running before the ANR falls out of the buffer are slim-to-none. Although connecting ADB over wifi and just having your PC continually spool logcat to a file the whole day might work?