dbg! for wasm32
This micro-crate provides a drop-in replacement for
that logs to
console when compiled for
wasm32-unknown-unknown and falls back to
std::dbg on all other platforms.
Include this dependency in your
 = "0.1.2"
Then, in files where you want to use WebAssembly-enabled logging to
console, use this import:
Licensed under either of