Add debug mode to rupsc. Fixes to parsing.

This commit is contained in:
Aram 🍐 2021-07-31 03:28:32 -04:00
parent d1d6b4e1a8
commit 52afe6bbd1
7 changed files with 129 additions and 79 deletions

View file

@ -19,6 +19,7 @@ fn main() -> nut_client::Result<()> {
let config = ConfigBuilder::new()
.with_host(Host::Tcp(addr))
.with_auth(auth)
.with_debug(false) // Turn this on for debugging network chatter
.build();
let mut conn = Connection::new(config)?;