To print something simple, use println!.
println!
As of now, Rust does not have an official REPL shipped with it.
Rust supports various debuggers, but a common one is gdb for GNU/Linux or lldb for macOS.
gdb
lldb
Rust’s built-in test framework supports unit, integration, and documentation tests without the need for external libraries.