Feras Odeh
Feras Odeh

Reputation: 9306

How to specify java compiler option in IntelliJ and Ant

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

I can use this in command line:

javac -g

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

Upvotes: 4

Views: 3420

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402235

In IDEA enable Settings | Compiler | Java Compiler, Generate debugging info. When using Ant add debug="true" to <javac> task.

Upvotes: 9

Related Questions