Does Intellij IDEA support debugging a project built with ant?

This project uses Ant as its build system. Can I debug a project when I run it through Ant?

+5
source share
2 answers

Ant is mainly used for building, not for Java applications.
But I'm sure you are using your application using Ant Java .

Ant Java Task

If so, then you can do this using remote debugging.

Remote Debug Java Application

In fact, you can debug any Java application like this.
Applications running through Ant are still Java .

+4
source

There is a special IDEA plugin for debugging ant script sources with breakpoints:

https://plugins.jetbrains.com/plugin/7195?pr=idea

https://github.com/opticyclic/antdebugger/

Or the same approach can be used for ant debugging in eclipse .

+1
source

Source: https://habr.com/ru/post/1207917/


All Articles