Add an option to debug unit tests
Add an option to debug unit tests

Summary:
Add an option to build.xml to allow debugging unit tests.
Also, provide an option to override default debug port.

Test Plan:
Run command:

  ant java-test -DdebugTest=true

Wait for message "[junit] Listening for transport dt_socket at address: 8787". After that
try to connect to the process from IDE.

davido/buck,1yvT0s/buck,raviagarwal7/buck,k21/buck,zhan-xiong/buck,marcinkwiatkowski/buck,stuhood/buck,romanoid/buck,Learn-Android-app/buck,nguyentruongtho/buck,lukw00/buck,mikekap/buck,SeleniumHQ/buck,raviagarwal7/buck,brettwooldridge/buck,lukw00/buck,darkforestzero/buck,rowillia/buck,janicduplessis/buck,dsyang/buck,illicitonion/buck,ilya-klyuchnikov/buck,shybovycha/buck,rmaz/buck,zhuxiaohao/buck,JoelMarcey/buck,SeleniumHQ/buck,MarkRunWu/buck,mogers/buck,Learn-Android-app/buck,Dominator008/buck,dsyang/buck,justinmuller/buck,marcinkwiatkowski/buck,dpursehouse/buck,zhuxiaohao/buck,JoelMarcey/buck,mikekap/buck,clonetwin26/buck,clonetwin26/buck,daedric/buck,stuhood/buck,clonetwin26/buck,bocon13/buck,sdwilsh/buck,zhuxiaohao/buck,1yvT0s/buck,luiseduardohdbackup/buck,robbertvanginkel/buck,lukw00/buck,davido/buck,dsyang/buck,darkforestzero/buck,Addepar/buck,k21/buck,dushmis/buck,hgl888/buck,justinmuller/buck,kageiit/buck,bocon13/buck,Distrotech/buck,rhencke/buck,zhan-xiong/buck,OkBuilds/buck,facebook/buck,robbertvanginkel/buck,sdwilsh/buck,Addepar/buck,grumpyjames/buck,Addepar/buck,mogers/buck,Heart2009/buck,ilya-klyuchnikov/buck,pwz3n0/buck,Learn-Android-app/buck,artiya4u/buck,SeleniumHQ/buck,Dominator008/buck,LegNeato/buck,mikekap/buck,rhencke/buck,mogers/buck,pwz3n0/buck,vine/buck,justinmuller/buck,OkBuilds/buck,mikekap/buck,romanoid/buck,mnuessler/buck,rhencke/buck,kageiit/buck,neonichu/buck,grumpyjames/buck,romanoid/buck,LegNeato/buck,Learn-Android-app/buck,dpursehouse/buck,dushmis/buck,rmaz/buck,zpao/buck,kageiit/buck,Learn-Android-app/buck,ilya-klyuchnikov/buck,bocon13/buck,ilya-klyuchnikov/buck,daedric/buck,davido/buck,artiya4u/buck,raviagarwal7/buck,zhan-xiong/buck,JoelMarcey/buck,Addepar/buck,janicduplessis/buck,brettwooldridge/buck,zhuxiaohao/buck,JoelMarcey/buck,liuyang-li/buck,vine/buck,lukw00/buck,dsyang/buck,janicduplessis/buck,pwz3n0/buck,romanoid/buck,dushmis/buck,raviagarwal7/buck,liuyang-li/buck,bocon13/buck,brettwooldridge/buck,rowillia/buck,brettwooldridge/buck,OkBuilds/buck,SeleniumHQ/buck,dpursehouse/buck,dushmis/buck,nguyentruongtho/buck,grumpyjames/buck,Addepar/buck,nguyentruongtho/buck,dpursehouse/buck,lukw00/buck,vine/buck,shybovycha/buck,robbertvanginkel/buck,janicduplessis/buck,ilya-klyuchnikov/buck,rowillia/buck,vine/buck,liuyang-li/buck,mogers/buck,stuhood/buck,shs96c/buck,Addepar/buck,Distrotech/buck,siddhartharay007/buck,siddhartharay007/buck,kageiit/buck,1yvT0s/buck,romanoid/buck,lukw00/buck,brettwooldridge/buck,Heart2009/buck,facebook/buck,davido/buck,liuyang-li/buck,rmaz/buck,hgl888/buck,Distrotech/buck,LegNeato/buck,darkforestzero/buck,rhencke/buck,tgummerer/buck,clonetwin26/buck,justinmuller/buck,dushmis/buck,illicitonion/buck,artiya4u/buck,zhan-xiong/buck,vschs007/buck,rowillia/buck,zpao/buck,OkBuilds/buck,dsyang/buck,OkBuilds/buck,facebook/buck,luiseduardohdbackup/buck,shs96c/buck,Dominator008/buck,Dominator008/buck,janicduplessis/buck,brettwooldridge/buck,k21/buck,pwz3n0/buck,JoelMarcey/buck,zhuxiaohao/buck,bocon13/buck,bocon13/buck,davido/buck,nguyentruongtho/buck,nguyentruongtho/buck,zhan-xiong/buck,Distrotech/buck,Learn-Android-app/buck,brettwooldridge/buck,neonichu/buck,illicitonion/buck,shs96c/buck,brettwooldridge/buck,artiya4u/buck,raviagarwal7/buck,facebook/buck,shybovycha/buck,robbertvanginkel/buck,raviagarwal7/buck,pwz3n0/buck,zhan-xiong/buck,neonichu/buck,mnuessler/buck,justinmuller/buck,darkforestzero/buck,mogers/buck,LegNeato/buck,Distrotech/buck,rmaz/buck,rmaz/buck,JoelMarcey/buck,lukw00/buck,romanoid/buck,vschs007/buck,zpao/buck,daedric/buck,artiya4u/buck,rhencke/buck,mikekap/buck,zpao/buck,kageiit/buck,grumpyjames/buck,artiya4u/buck,illicitonion/buck,Heart2009/buck,Addepar/buck,grumpyjames/buck,marcinkwiatkowski/buck,artiya4u/buck,Dominator008/buck,clonetwin26/buck,dsyang/buck,rmaz/buck,rowillia/buck,shybovycha/buck,artiya4u/buck,darkforestzero/buck,grumpyjames/buck,stuhood/buck,vschs007/buck,raviagarwal7/buck,SeleniumHQ/buck,raviagarwal7/buck,pwz3n0/buck,shs96c/buck,tgummerer/buck,daedric/buck,lukw00/buck,hgl888/buck,MarkRunWu/buck,justinmuller/buck,luiseduardohdbackup/buck,janicduplessis/buck,k21/buck,rmaz/buck,Learn-Android-app/buck,shs96c/buck,romanoid/buck,vine/buck,rhencke/buck,janicduplessis/buck,pwz3n0/buck,brettwooldridge/buck,bocon13/buck,rowillia/buck,ilya-klyuchnikov/buck,LegNeato/buck,vine/buck,sdwilsh/buck,Dominator008/buck,grumpyjames/buck,mogers/buck,bocon13/buck,mnuessler/buck,neonichu/buck,vine/buck,dsyang/buck,romanoid/buck,shs96c/buck,marcinkwiatkowski/buck,JoelMarcey/buck,shs96c/buck,rmaz/buck,rowillia/buck,k21/buck,Learn-Android-app/buck,shybovycha/buck,mogers/buck,shybovycha/buck,daedric/buck,dsyang/buck,vschs007/buck,clonetwin26/buck,rhencke/buck,liuyang-li/buck,daedric/buck,tgummerer/buck,zpao/buck,MarkRunWu/buck,janicduplessis/buck,liuyang-li/buck,MarkRunWu/buck,mogers/buck,rowillia/buck,zhan-xiong/buck,Dominator008/buck,darkforestzero/buck,k21/buck,darkforestzero/buck,romanoid/buck,zhan-xiong/buck,brettwooldridge/buck,sdwilsh/buck,clonetwin26/buck,davido/buck,raviagarwal7/buck,sdwilsh/buck,shybovycha/buck,justinmuller/buck,bocon13/buck,1yvT0s/buck,zhan-xiong/buck,pwz3n0/buck,OkBuilds/buck,dpursehouse/buck,mnuessler/buck,raviagarwal7/buck,vschs007/buck,pwz3n0/buck,illicitonion/buck,Addepar/buck,marcinkwiatkowski/buck,rowillia/buck,k21/buck,daedric/buck,mnuessler/buck,k21/buck,brettwooldridge/buck,siddhartharay007/buck,robbertvanginkel/buck,daedric/buck,Dominator008/buck,zhuxiaohao/buck,Distrotech/buck,ilya-klyuchnikov/buck,mogers/buck,marcinkwiatkowski/buck,illicitonion/buck,grumpyjames/buck,daedric/buck,romanoid/buck,siddhartharay007/buck,vschs007/buck,bocon13/buck,grumpyjames/buck,rmaz/buck,Learn-Android-app/buck,dsyang/buck,hgl888/buck,darkforestzero/buck,illicitonion/buck,MarkRunWu/buck,darkforestzero/buck,rmaz/buck,darkforestzero/buck,liuyang-li/buck,ilya-klyuchnikov/buck,1yvT0s/buck,LegNeato/buck,rmaz/buck,rmaz/buck,facebook/buck,OkBuilds/buck,robbertvanginkel/buck,darkforestzero/buck,artiya4u/buck,facebook/buck,Distrotech/buck,vine/buck,davido/buck,LegNeato/buck,sdwilsh/buck,artiya4u/buck,k21/buck,illicitonion/buck,rhencke/buck,hgl888/buck,liuyang-li/buck,Distrotech/buck,k21/buck,vschs007/buck,vschs007/buck,stuhood/buck,Dominator008/buck,daedric/buck,OkBuilds/buck,tgummerer/buck,zhan-xiong/buck,justinmuller/buck,dushmis/buck,hgl888/buck,marcinkwiatkowski/buck,mikekap/buck,siddhartharay007/buck,tgummerer/buck,neonichu/buck,justinmuller/buck,zhan-xiong/buck,mikekap/buck,OkBuilds/buck,k21/buck,rowillia/buck,justinmuller/buck,clonetwin26/buck,justinmuller/buck,neonichu/buck,facebook/buck,marcinkwiatkowski/buck,robbertvanginkel/buck,vine/buck,1yvT0s/buck,hgl888/buck,kageiit/buck,davido/buck,janicduplessis/buck,lukw00/buck,robbertvanginkel/buck,pwz3n0/buck,sdwilsh/buck,daedric/buck,rowillia/buck,MarkRunWu/buck,Heart2009/buck,lukw00/buck,mikekap/buck,illicitonion/buck,marcinkwiatkowski/buck,raviagarwal7/buck,shs96c/buck,mnuessler/buck,ilya-klyuchnikov/buck,tgummerer/buck,tgummerer/buck,dsyang/buck,Learn-Android-app/buck,LegNeato/buck,luiseduardohdbackup/buck,JoelMarcey/buck,sdwilsh/buck,ilya-klyuchnikov/buck,zhuxiaohao/buck,ilya-klyuchnikov/buck,LegNeato/buck,mnuessler/buck,justinmuller/buck,dpursehouse/buck,davido/buck,siddhartharay007/buck,pwz3n0/buck,shybovycha/buck,illicitonion/buck,1yvT0s/buck,1yvT0s/buck,mnuessler/buck,sdwilsh/buck,OkBuilds/buck,JoelMarcey/buck,dushmis/buck,mogers/buck,LegNeato/buck,dpursehouse/buck,mikekap/buck,nguyentruongtho/buck,clonetwin26/buck,davido/buck,clonetwin26/buck,Heart2009/buck,grumpyjames/buck,MarkRunWu/buck,shs96c/buck,luiseduardohdbackup/buck,sdwilsh/buck,siddhartharay007/buck,davido/buck,zhan-xiong/buck,stuhood/buck,artiya4u/buck,LegNeato/buck,grumpyjames/buck,siddhartharay007/buck,brettwooldridge/buck,liuyang-li/buck,Heart2009/buck,shybovycha/buck,daedric/buck,zpao/buck,luiseduardohdbackup/buck,dsyang/buck,liuyang-li/buck,robbertvanginkel/buck,1yvT0s/buck,dsyang/buck,vschs007/buck,hgl888/buck,Distrotech/buck,SeleniumHQ/buck,vschs007/buck,JoelMarcey/buck,zhuxiaohao/buck,vschs007/buck,rmaz/buck,luiseduardohdbackup/buck,clonetwin26/buck,Addepar/buck,lukw00/buck,Learn-Android-app/buck,Dominator008/buck,stuhood/buck,sdwilsh/buck,stuhood/buck,LegNeato/buck,k21/buck,liuyang-li/buck,clonetwin26/buck,stuhood/buck,clonetwin26/buck,robbertvanginkel/buck,shs96c/buck,rhencke/buck,Distrotech/buck,tgummerer/buck,davido/buck,davido/buck,Addepar/buck,robbertvanginkel/buck,JoelMarcey/buck,OkBuilds/buck,romanoid/buck,dushmis/buck,shybovycha/buck,shs96c/buck,shybovycha/buck,darkforestzero/buck,mikekap/buck,Dominator008/buck,zhuxiaohao/buck,daedric/buck,shybovycha/buck,OkBuilds/buck,Addepar/buck,MarkRunWu/buck,SeleniumHQ/buck,OkBuilds/buck,zpao/buck,janicduplessis/buck,dpursehouse/buck,LegNeato/buck,marcinkwiatkowski/buck,JoelMarcey/buck,dushmis/buck,illicitonion/buck,SeleniumHQ/buck,zhan-xiong/buck,dsyang/buck,brettwooldridge/buck,raviagarwal7/buck,SeleniumHQ/buck,neonichu/buck,neonichu/buck,Addepar/buck,bocon13/buck,siddhartharay007/buck,tgummerer/buck,mikekap/buck,grumpyjames/buck,Heart2009/buck,mnuessler/buck,dushmis/buck,Distrotech/buck,mogers/buck,illicitonion/buck,luiseduardohdbackup/buck,kageiit/buck,shybovycha/buck,luiseduardohdbackup/buck,sdwilsh/buck,shs96c/buck,ilya-klyuchnikov/buck,romanoid/buck,robbertvanginkel/buck,illicitonion/buck,Heart2009/buck,janicduplessis/buck,SeleniumHQ/buck,robbertvanginkel/buck,SeleniumHQ/buck,vine/buck,sdwilsh/buck,raviagarwal7/buck,janicduplessis/buck,SeleniumHQ/buck,darkforestzero/buck,marcinkwiatkowski/buck,vschs007/buck,ilya-klyuchnikov/buck,stuhood/buck,shs96c/buck,k21/buck,neonichu/buck,Dominator008/buck,justinmuller/buck,hgl888/buck,bocon13/buck,SeleniumHQ/buck,rowillia/buck,mikekap/buck,nguyentruongtho/buck,JoelMarcey/buck,romanoid/buck,stuhood/buck,Addepar/buck,Heart2009/buck,marcinkwiatkowski/buck,tgummerer/buck,rhencke/buck,vine/buck,vschs007/buck,marcinkwiatkowski/buck,tgummerer/buck,rhencke/buck