Remote debugging in apache ant and eclipse -
what remote debugging command ant .i' m using eclipse .
add jpda settings ant_opts on machine want ant process debugged.
in linux, can execute
export ant_opts=$ant_opts -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y
and following ant builds ran in debug mode , wait debugger connect before execution.
in windows can similar thing, maybe set ant_opts=%ant_opts
or something.
and then, connect ip address , port 8000 (this value set in jpda setting: address=8000
, , can set available port) debugger.
i not using eclipse can't tell find place connect ant process.
Comments
Post a Comment