In my Nb 7.4 there is a flag "generate debugging information" on
project properties → Build → compile;
but if you, like me, use maven, you need to also check pom.xml
let me show an example:
you can create a production profile, and in this profile you can have the maven compiler plugin with the debug parameter set to false
<profile> <id>production</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.5.1</version> <configuration> <encoding>UTF-8</encoding> <source>1.6</source> <target>1.6</target> <showWarnings>true</showWarnings> <debug>false</debug> <optimize>true</optimize> </configuration> </plugin> </plugins> </build> ...
see false setting
if you have similar settings in the local pom.xml variable during debugging, they are not displayed.
source share