Debug Print

Objective: Print value of a variable along with its name.

Python

x = 123
print(f"{x=}")

Rust

fn main() {
    let x = 123;
    dbg!(x);
}

Crystal

x = 123
p! x