Interface DebugTask

All Superinterfaces:
ExecTask<Integer,DebugTask>, Task<Integer,DebugTask>

public interface DebugTask extends ExecTask<Integer,DebugTask>

Debugs the project in a separate process and wait for the application to stop.

Since:
1.4
Author:
Jeremy Kuhn
  • Method Details

    • port

      DebugTask port(int port)

      Sets the port exposed by the application where to attach the debugger.

      Defaults to 8000.

      Parameters:
      port - the debug port
      Returns:
      the task
    • suspend

      DebugTask suspend(boolean suspend)

      Sets whether to suspend VM execution when starting the application.

      Defaults to true.

      Parameters:
      suspend - true to suspend the execution, false otherwise
      Returns:
      the task