0

docs: Debugging Robolectric tests in Android Studio

NOTRY=true  # docs update

Bug: None
Change-Id: I1c3c71e1d1813b71de780e2e50accdedd1acadfe
Reviewed-on: https://chromium-review.googlesource.com/804137
Reviewed-by: agrieve <agrieve@chromium.org>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522882}
This commit is contained in:
Wei-Yin Chen (陳威尹)
2017-12-08 21:42:15 +00:00
committed by Commit Bot
parent 73e94b9aeb
commit 0f8750b3d1

@ -103,7 +103,8 @@ out/Default/bin/run_chrome_junit_tests --wait-for-java-debugger # Specify custo
### Android Studio
* Open Android Studio ([instructions](android_studio.md))
* Click "Run"->"Attach debugger to Android process" (see
[here](https://developer.android.com/studio/debug/index.html) for more)
[here](https://developer.android.com/studio/debug/index.html) for more).
Click "Run"->"Attach to Local Process..." for Robolectric junit tests.
### Eclipse
* In Eclipse, make a debug configuration of type "Remote Java Application".