Using Ray With Rust

Rust is a systems programming language focused on safety, speed, and concurrency. Use Ray to help you debug your Rust applications. This is a third-party package with community support only.

bnomei/ray-dbg

Crates.io: ray-dbg

Installing the package

Add the dependency to your Cargo.toml:

[dependencies]
ray-dbg = "0.1"

Or install it via cargo:

cargo add ray-dbg

Usage

The package implements most of the PHP Ray features and adds a convenient ray_dbg! macro for debugging. It also supports integration with the tracing crate.

use ray_dbg::ray_dbg;

fn main() {
    ray_dbg!("Hello from Rust!");
}

Debug without breaking your flow

Ray keeps all your debug output neatly organized in a dedicated desktop app.

Download Ray

[Buy Ray for
49 USD](https://spatie.be/products/ray)

Licenses are valid for 1 year and managed through Spatie. Licenses purchased before Ray 3 remain valid. VAT is calculated at checkout.

Thanks for trying out Ray!

macOS

ARM Intel

Windows

x86 (Intel)

Linux

AppImage

By downloading Ray, you agree to our terms of use.

The free trial lets you send up to 20 messages per session.