From ab1b999a5e8af5c17b0c047fc210e6bcb6675b31 Mon Sep 17 00:00:00 2001 From: Jackson Coxson Date: Wed, 5 Feb 2025 17:32:12 -0700 Subject: [PATCH] Debug sending message plist --- idevice/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/idevice/src/lib.rs b/idevice/src/lib.rs index a2daa53..1f181a4 100644 --- a/idevice/src/lib.rs +++ b/idevice/src/lib.rs @@ -69,6 +69,8 @@ impl Idevice { /// Sends a plist to the socket async fn send_plist(&mut self, message: plist::Value) -> Result<(), IdeviceError> { if let Some(socket) = &mut self.socket { + debug!("Sending plist: {message:?}"); + let buf = Vec::new(); let mut writer = BufWriter::new(buf); message.to_writer_xml(&mut writer)?;