Rust debug print format {:?} prints the whole expression in one line.

There's a pretty-print {:#?} which prints structs and vectors in a nice multi-line indented format.

println!("{complex_value:#?}");

If you're implementing the Debug trait for your types manually, check out the Formatter methods to for pretty-printing.