@Incubating public interface JavaDebugOptions
Modifier and Type | Method | Description |
---|---|---|
Property<Boolean> |
getEnabled() |
Whether to attach a debug agent to the forked process.
|
Property<Integer> |
getPort() |
The debug port.
|
Property<Boolean> |
getServer() |
Whether a socket-attach or a socket-listen type of debugger is expected.
|
Property<Boolean> |
getSuspend() |
Whether the forked process should be suspended until the connection to the debugger is established.
|
@Input Property<Boolean> getEnabled()
@Input Property<Boolean> getServer()
In socked-attach mode (server = true) the process actively waits for the debugger to connect after the JVM starts up. In socket-listen mode (server = false), the debugger should be already running before startup waiting for the JVM connecting to it.