Since Ant 1.7.0
Runs Apache Ant's -diagnostics code inside Ant itself. This is good for debugging Ant's configuration under an IDE.
<target name="diagnostics" description="diagnostics">
<diagnostics/>
</target>
Prints out the current diagnostics dump.