Macro console_dbg
macro_rules! console_dbg { () => { ... }; ($arg:expr $(,)?) => { ... }; ($($arg:expr),+ $(,)?) => { ... }; }
Expand description
Debug the value of a variable to the JavaScript console if on wasm32. Otherwise logs it to stdout.
Note: this does not work properly for server-side WASM since it will mistakenly try to log to the JS console.