Curiousity: why does IJ not support "debug" on ant (only "run")

It's nice and all that to be able to run an ant target, but it would be more useful to actually click on the target and have it converse with the IJ debugger. Given the "fork" aspect, that should be possible I presume.

3 comments
Comment actions Permalink

Although I'd like to leave this question "out there" for comments, I did find a kind of workaround.

1. Set up the ant target to run in debug mode (including the following inside the task): ]]>

2. Set up a Remote debugging Run target that listens on port 8787

3. "run" the ant target from the Ant window. Note it is implicitly going into debug mode

4. Start the Remote debugging target.

0
Comment actions Permalink

Hello Stephen,

It's nice and all that to be able to run an ant target, but it would
be more useful to actually click on the target and have it converse
with the IJ debugger. Given the "fork" aspect, that should be
possible I presume.


Just for case: there is a feature issue in JIRA, http://www.jetbrains.net/jira/browse/IDEABKL-584

Alexander.


0
Comment actions Permalink

This is an outstanding enhancement request. hopefully it will show up in a near future release ;)

0

Please sign in to leave a comment.