Attempting to call the Oasis runtime's debug function inside core game logic will cause an opaque Webpack build failure (since this function is not available in the browser runtime).
We should provide a debugging method (preferably just println!) that works as expected in both runtime environments.
Attempting to call the Oasis runtime's
debug
function inside core game logic will cause an opaque Webpack build failure (since this function is not available in the browser runtime).We should provide a debugging method (preferably just
println!
) that works as expected in both runtime environments.