I have a java class and I need to debug it (put breakpoints and continue using F6). I am using ANT script to init, build, deploy and run the code. I am using:
I too faced this problem, I did following steps to resolve.
Put the below lines in ANT file
Go to the debugging configurations->Remote java application-> Create new configuration file with project name,port=5432 and host is localhost and save it.
Now run your build.xml using debugging mode, then you should see in console that "Listening for transport dt_socket at address 5432"
Now run debug configuration file which is you configured. Now your selenium code will run using Debug mode.
Hope this helps.
If you still facing issues, please let me know so that i can help you on that.
Thanks