mirror of https://github.com/helix-editor/helix
I often reach for the `dbg!` macro before realizing it does not work, and there is no good alternative. The best that currently exists is `log::error!` which always prints, but it lacks many features of `dbg!` This `dbg!` macro is the same as `std`'s `dbg!`, the only difference being the fact that it uses `log::error!` instead of `eprintln!` under the hood I've also added instructions to `CONTRIBUTING.md` to use it - as I believe it is really useful |
||
---|---|---|
.. | ||
CONTRIBUTING.md | ||
architecture.md | ||
releases.md | ||
vision.md |