Function: setDebugMode()
February 16, 2026 ยท View on GitHub
quickjs-emscripten / quickjs-emscripten-core / setDebugMode
Function: setDebugMode()
setDebugMode(
enabled?):void
Defined in: packages/quickjs-emscripten-core/src/debug.ts:13
Enable (or disable) debug logging and object creation tracking globally. This setting is inherited by newly created QuickJSRuntime instances. To get debug logging in the WebAssembly module, you need to use a debug build variant. See the quickjs-emscripten-core README for more about build variants.
Contents
Parameters
enabled?
boolean = true
Returns
void