api / org.gradle.process / JavaForkOptions / setDebug

setDebug

abstract fun setDebug(enabled: Boolean): Unit

Enable or disable debugging for the process. When enabled, the process is started suspended and listening on port 5005.

Parameters

enabled - true to enable debugging, false to disable.