When we remove an app from foreground logcat gets full of other stuff.
If you have an app running on your device and you want to attach a debugger to its process then you can hit the "Attach Debugger" button as shown in the image below:
Then select the process you want to debug. You can only do this with your own apps of course.