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.

JavaDebugOptions

Contains a subset of the Java Debug Wire Protocol properties.

Since

5.6

Functions

Link copied to clipboard
abstract fun getEnabled(): Property<Boolean>
Should the debug agent start in the forked process?
Link copied to clipboard
Host address to listen on or connect to when debug is enabled.
Link copied to clipboard
abstract fun getPort(): Property<Integer>
The debug port to listen on or connect to.
Link copied to clipboard
abstract fun getServer(): Property<Boolean>
Should the process listen for a debugger to attach (server) or immediately connect to an already running debugger (client)?
Link copied to clipboard
abstract fun getSuspend(): Property<Boolean>
Should the process suspend until the connection to the debugger is established?