Debigging Ant taskdef

Hopefully this is an easy one:
I wrote an Ant taskdef, how can I use the IntelliJ debugger (break points and all...) to execute this taskdef (there is no main class)?

Thanks,
David

2 comments
Comment actions Permalink

I wrote an Ant taskdef, how can I use the IntelliJ debugger (break
points and all...) to execute this taskdef (there is no main class)?


Add the debug options for remote debugging to the ANT_OPTS environment variable
and then debug it like a normal report process. If necessary, change suspend=n
to suspend=y to wait for IDEA to connect before starting the process.

--Mike


0
Comment actions Permalink

Did as you said and IntelliJ connects to Ant and I can debug, thanks! still a small problem with arguments passing - but think I will be able to work it out.

David

0

Please sign in to leave a comment.