From 4834a7aa444f0208558f7dc660024a32ac546f58 Mon Sep 17 00:00:00 2001 From: Henrik Friedrichsen Date: Tue, 2 Mar 2021 17:18:15 +0100 Subject: [PATCH] Use debug build for backtrace logs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec2364a..b11d5b2 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ You can find it under `target/debian`. * Install the latest ncspot release using `cargo install ncspot` * or build it yourself using `cargo build --release` * both approaches require a working [Rust installation](https://www.rust-lang.org/tools/install) -* For debugging, you can pass a debug log filename and log stderr to a file, e.g. `ncspot -d debug.log 2> stderr.log` +* For debugging, you can pass a debug log filename and log stderr to a file, e.g. `RUST_BACKTRACE=full cargo run -- -d debug.log 2> stderr.log` ## Audio backends