Class RemoteDebugger

java.lang.Object
io.camunda.zeebe.qa.util.testcontainers.RemoteDebugger

public final class RemoteDebugger extends Object
To use, create a new instance with the desired port (or, by default, 5005), and pass the container you wish to configure to it.

This will start the container and wait for the debugger to attach. To use with Intellij, create a new debug configuration template and pick "Remote JVM Debug". By default, it will be setup for port 5005, which is the default port here as well. You can find out more about this from this IntelliJ tutorial.

This idea came from bsideup's blog, and you can read more about it here

TODO(npepinpe): document, and add to zeebe-test-container as base capability

  • Field Details

    • DEFAULT_REMOTE_DEBUGGER_PORT

      public static final int DEFAULT_REMOTE_DEBUGGER_PORT
      See Also:
    • DEFAULT_START_TIMEOUT

      public static final Duration DEFAULT_START_TIMEOUT
  • Method Details

    • configureContainer

      public static void configureContainer(org.testcontainers.containers.GenericContainer<?> container)
    • configureContainer

      public static void configureContainer(org.testcontainers.containers.GenericContainer<?> container, int port)