Debugs the project in a separate process and wait for the application to stop.
- Since:
- 1.4
- Author:
- Jeremy Kuhn
-
Method Summary
Methods inherited from interface io.inverno.tool.buildtools.ExecTask
addUnnamedModules, arguments, mainClass, redirectError, redirectInput, redirectOutput, vmOptions, workingPath
Methods inherited from interface io.inverno.tool.buildtools.Task
doOnComplete, execute
-
Method Details
-
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
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
-