setDebug

open fun setDebug(enabled: Boolean)(source)

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

The debug properties (e.g. the port number) can be configured in #debugOptions(Action).