DevToolsConfig
constructor(serverUrl: String? = null, enabled: Boolean = true, autoConnect: Boolean = true, autoReconnect: Boolean = true, allowActionCapture: Boolean = true, allowStateCapture: Boolean = true, defaultRole: ClientRole? = null, allowRemoteRequests: Boolean = true)(source)
Parameters
serverUrl
WebSocket server URL. Null means no connection until connect is called with a URL
enabled
Enable/disable DevTools functionality
autoConnect
Connect on service start when true; wait for an explicit connect when false
allowActionCapture
Allow sending dispatched actions to the DevTools server
allowStateCapture
Allow sending state changes to the DevTools server
defaultRole
The role to request automatically on connect. Null means no auto-request.