1
0
mirror of https://github.com/nushell/nushell.git synced 2025-06-10 12:06:51 +02:00

Debugging tips for contributors ()

This commit is contained in:
Chris Gillespie 2020-10-07 19:14:59 -07:00 committed by GitHub
parent 153320ef33
commit 152ba32eb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,6 +31,11 @@ cargo build
cargo build --release && cargo run --release 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: - Run Clippy on Nushell:
```shell ```shell
@ -60,3 +65,11 @@ cargo build
```shell ```shell
cargo fmt --all 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
```