Crates.io | aptos-pprint |
lib.rs | aptos-pprint |
version | 0.2.0 |
source | src |
created_at | 2022-10-01 15:55:59.455376 |
updated_at | 2022-10-02 12:37:42.892138 |
description | a script that makes aptos debug message readable |
homepage | |
repository | https://github.com/0xbe1/aptos-pprint |
max_upload_size | |
id | 677883 |
size | 5,132 |
With debug::print(&b"aptos debug made easy")
in code.
Before 🤯
$ aptos move test
...
[debug] (&) [97, 112, 116, 111, 115, 32, 100, 101, 98, 117, 103, 32, 109, 97, 100, 101, 32, 101, 97, 115, 121]
[debug] (&) { [97, 112, 116, 111, 115, 32, 100, 101, 98, 117, 103, 32, 109, 97, 100, 101, 32, 101, 97, 115, 121] }
After 😇
$ aptos move test | aptos-pprint
...
[debug] (&) aptos debug made easy
[debug] (&) { aptos debug made easy }
cargo install aptos-pprint