How to specify java compiler option in IntelliJ and Ant

I want to generate debugging information from my source code in IntelliJ.

I can use this on the command line:

javac -g 

But how could I do this in IntelliJ and Ant? Thanks.

+4
source share
1 answer

In the IDEA Settings Ad | Compiler | Java Compiler , Generate Debug Information . When using Ant, add debug="true" to the <javac> task.

+9
source

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


All Articles