Constructs a new RemoteDebugClient.
Private_PrivateappPrivateappPrivate OptionalassignedPrivate OptionalassignIf set, sent to management server on assign-port so server releases port if WebSocket never connects within this ms.
PrivateconnectionSubscribers notified when the WebSocket opens (and immediately if already connected).
PrivatedebugPrivatedevicePrivateisPrivatemanagementPrivatereconnectPrivateregistryPrivatewebPrivate OptionalwsRegister a callback when the remote debug WebSocket connects (or immediately if already connected).
Used to flush early remote.log() calls that occur before on_open.
Starts the remote debugger by initializing and connecting the WebSocketClient. Requests port assignment from the management server for multi-app support unless the caller supplies an explicit direct port.
Optionalport: numberPrivateconnectConnects to a specific port
PrivateconnectRequests port assignment from management server and connects
PrivatedebugOUT: Dispatches a remote debug command to the debugger, via the WebSocket.
The remote debug command to send.
PrivategetExtracts a human-readable app name from the appId (removes timestamp suffix)
PrivategetGets the app type based on platform
PrivategetPrivategetPrivategetPrivategetOptionalrecorder: stringPrivategetPrivateinstallRegisters this client as the focus-dev-relay so FocusManager stays debugger-agnostic. Called from configure() alongside app/scene setup (same lifecycle as injected focusManager).
PrivateonPrivateonPrivateonCalled when a message is received on the WebSocket.
PrivateonIN: Handles an incoming debug command from the remote debugger, via the WebSocket.
The debug command to execute.
PrivateprocessPrivateprocessPrivateprocessPrivateprocessPrivateprocessPrivateprocessPrivateprocessPrivateprocessFocus relay: called when focused view changes (from FocusManager via focus-dev-relay).
Focus relay: called when a key is pressed (from FocusManager via focus-dev-relay).
PrivateresolvePrivateresolvePrivatesend
RemoteDebugClient provides methods for handling remote debug commands and updating debug state.