I need to run debug while my tests execution in Android Studio + Robolectric.
Each time I try to run them by selecting debug
for the test
task from Gradle tasks I get the error message:
Error running package_name:app_name [test]: Unable to open debugger port : java.net.SocketException "Socket closed"
Any ideas?
question from:https://stackoverflow.com/questions/21184490/how-to-debug-when-running-robolectric-tests-in-android-studio