Interface JavaDebugOptions


@Incubating public interface JavaDebugOptions
Contains a subset of the Java Debug Wire Protocol properties.
Since:
5.6
  • Method Details

    • getEnabled

      @Input Property<Boolean> getEnabled()
      Whether to attach a debug agent to the forked process.
    • getPort

      @Input Property<Integer> getPort()
      The debug port.
    • getServer

      @Input Property<Boolean> getServer()
      Whether a socket-attach or a socket-listen type of debugger is expected.

      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.

      Returns:
      Whether the process actively waits for the debugger to be attached.
    • getSuspend

      @Input Property<Boolean> getSuspend()
      Whether the forked process should be suspended until the connection to the debugger is established.