debugging - Attaching debugger to Android process automatically in Android Studio -


is there way configure android studio attach debugger android process automatically (specifically background process started service)? want have breakpoints stop execution in android studio services running in background process. have been able manually start started service , attach debugger manually work. wondering if there someway configure android studio automatically.

edit: should have mentioned first wanted attach debugger background android process created starting or binding service.

if has package name, type adb shell set-debug-app -w packagename let wait until debugger connected


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -