For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

setDebug

open fun setDebug(debug: Boolean)(source)

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

Since

0.7