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:
set ANT_OPTS=%ANT_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5432
in Eclipse
Toolbar >> Run >> Debug Configurations >> + >>
Give the values:
Name: Debug_Ant Project: active-eclipse-project Host:localhost Port:5432