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.

debugOptions

abstract fun debugOptions(action: Action<JavaDebugOptions>)(source)

Configures Java Debug Wire Protocol properties for the process. If setDebug is enabled then the -agentlib:jdwp=... will be appended to the JVM arguments with the configuration from the parameter.

Since

5.6

Parameters

action

the Java debug configuration