Ant debugger
Ant Debugger plugin enables Apache Ant build script debugging in IntelliJ Idea:
- Open build file in editor
- Set debug breakpoints:
- Right click on editor to show context menu and select the "Debug" menu item to launch Ant debugger:
- Wait until the Ant debugger stops on breakpoint then use step or resume debugger commands, investigate Ant variables and execution stack:
-
You can add Ant debug configuration from the Edit configurations dialog:
Then you select Ant file, Java SDK for debugging session:
Also you adjust Ant settings here: folder with Ant tasks, Java memory amount, debug port.
Installation: use Idea plugins manager:
- open Settings > plugins
- wait until the plugin list loads
- right click on Ant Debugger plugin and select install / update from the context menu
- restart Idea
Manual installation of plugin:
- Remove previous version of plugin if installed: open plugins manager and select remove from plugin context menu.
- Copy ant-debugger.jar to
.IntelliJIdea9/config/plugins
folder or toplugins
folder of Idea installation.
.IntelliJIdea9 folder resides in the current user folder and can be hidden:
  Windows:c:\Documents and Setting\username
  Unix:/home/username
or/root
Supported Idea versions: Idea 8.1.x, Idea 9 (community and ultimate editions).
Ant debugger plugin is free
Please write to antdebugger at handyedit.com if there are errors / problems when using Ant debugger