title: Is it possible to enter debug mode for android when running junit test?
body: <p>Usually i run a junit test using <code>adb shell am instrument -w com.android.contacts.tests/android.test.InstrumentationTestRunner</code>. And it actually works, it will run all my tests. </p>
  
  <p>But when i make a breakpoints and wish to enter debug mode when running junit, it failed. The way i make breakpoints works when i debug normal android app.</p>
  
  <p>So i searched web, and try something like <code>adb shell am instrument -e debug true -e class com.android.contacts.AndroidUtilsTest -w com.android.contacts.tests/android.test.InstrumentationTestRunner</code>, but still without luck. How do yours solve this problem? I not just want to debug the junit class, but also the code in normal project.</p>