From 152ba32eb764007103e3ddf0a251f78374b42ab9 Mon Sep 17 00:00:00 2001 From: Chris Gillespie <6572184+gillespiecd@users.noreply.github.com> Date: Wed, 7 Oct 2020 19:14:59 -0700 Subject: [PATCH] Debugging tips for contributors (#2647) --- CONTRIBUTING.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 63089fa7..82e2c6db 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,6 +31,11 @@ cargo build cargo build --release && cargo run --release ``` +- Build and run with extra features: + ```shell + cargo build --release --features=extra && cargo run --release --features=extra + ``` + - Run Clippy on Nushell: ```shell @@ -60,3 +65,11 @@ cargo build ```shell cargo fmt --all ``` + +### Debugging Tips + +- To view verbose logs when developing, enable the `trace` log level. + + ```shell + cargo build --release --features=extra && cargo run --release --features=extra -- --loglevel trace + ```