I am using gradle script for building the app in Eclipse . By using gradle I can run the application to the device, by using the script in gradle.
task run(type: Exec, dependsOn: 'installDebug') {
def adb = "$System.env.ANDROID_HOME/platform-tools/adb"
commandLine "$adb", 'shell', 'am', 'start', '-n', 'com.example.multidexproject/.MainActivity'
}
and it is working fine .Now I would like to write a task for debugging the app . So there is any command for this in adb ?