Silence the runtime output from the debugger (#20975)

* Silence the runtime output from the debugger

* Update src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts

Co-authored-by: Pranav K <prkrishn@hotmail.com>
This commit is contained in:
Larry Ewing 2020-04-22 13:15:49 -05:00 committed by GitHub
parent 98bbb3ba3e
commit 5dc5f6c230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -297,7 +297,8 @@ function createEmscriptenModuleInstance(resourceLoader: WebAssemblyResourceLoade
MONO.mono_wasm_setenv("MONO_URI_DOTNETRELATIVEORABSOLUTE", "true");
const load_runtime = cwrap('mono_wasm_load_runtime', null, ['string', 'number']);
load_runtime(appBinDirName, hasDebuggingEnabled() ? 1 : 0);
// -1 enables debugging with logging disabled. 0 disables debugging entirely.
load_runtime(appBinDirName, hasDebuggingEnabled() ? -1 : 0);
MONO.mono_wasm_runtime_ready ();
attachInteropInvoker();
onReady();