Alternative to dbg!() but prints using log::debug!() so that it works on WASM and other non-std targets.
dbg!()
log::debug!()
rust // WASM example use debug::debug; wasm_logger::init(wasm_logger::Config::default()); debug!();