api / org.gradle.api.tasks.compile / CompileOptions / setDebug

setDebug

open fun setDebug(debug: Boolean): Unit

Sets whether to include debugging information in the generated class files. Defaults to true. See DebugOptions#getDebugLevel() for which debugging information will be generated.