mirror of
https://github.com/nushell/nushell
synced 2024-11-10 15:14:14 +00:00
Debugging tips for contributors (#2647)
This commit is contained in:
parent
153320ef33
commit
152ba32eb7
1 changed files with 13 additions and 0 deletions
|
@ -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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue