mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Add console-subscriber feature for debugging (#7529)
Add `console-subscriber` feature for debugging tokio async tasks. Supersedes #7420 to work with `unstable`. Usage: - Build Lighthouse with `RUSTFLAGS=--cfg tokio_unstable` and `--features console-subscriber`, e.g.: ``` RUSTFLAGS=-"-cfg=tokio_unstable --remap-path-prefix=$(pwd)=." FEATURES=console-subscriber make ``` - Run the Lighthouse binary. - Install `tokio-console` and run it in a terminal.
This commit is contained in:
@@ -124,6 +124,7 @@ clap = { version = "4.5.4", features = ["derive", "cargo", "wrap_help"] }
|
||||
clap_utils = { path = "common/clap_utils" }
|
||||
compare_fields = { path = "common/compare_fields" }
|
||||
compare_fields_derive = { path = "common/compare_fields_derive" }
|
||||
console-subscriber = "0.4"
|
||||
context_deserialize = { path = "consensus/context_deserialize" }
|
||||
context_deserialize_derive = { path = "consensus/context_deserialize_derive" }
|
||||
criterion = "0.5"
|
||||
|
||||
Reference in New Issue
Block a user