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.
gradle
Toggle table of contents
9.9.3
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.process
/
JavaDebugOptions
Java
Debug
Options
API
interface
JavaDebugOptions
(
source
)
Contains a subset of the
Java Debug Wire Protocol
properties.
Since
5.6
Members
Functions
get
Enabled
Link copied to clipboard
API
@
Input
abstract
fun
getEnabled
(
)
:
Property
<
Boolean
>
Should the debug agent start in the forked process?
get
Host
Link copied to clipboard
API
@
Incubating
@
Optional
@
Input
abstract
fun
getHost
(
)
:
Property
<
String
>
Host address to listen on or connect to when debug is enabled.
get
Port
Link copied to clipboard
API
@
Input
abstract
fun
getPort
(
)
:
Property
<
Integer
>
The debug port to listen on or connect to.
get
Server
Link copied to clipboard
API
@
Input
abstract
fun
getServer
(
)
:
Property
<
Boolean
>
Should the process listen for a debugger to attach (server) or immediately connect to an already running debugger (client)?
get
Suspend
Link copied to clipboard
API
@
Input
abstract
fun
getSuspend
(
)
:
Property
<
Boolean
>
Should the process suspend until the connection to the debugger is established?