diff --git a/5.others/debug/public/index.html b/5.others/debug/public/index.html index f9d8b6f6f..25b54b577 100644 --- a/5.others/debug/public/index.html +++ b/5.others/debug/public/index.html @@ -42,6 +42,7 @@

Read Barcodes from Camera - Debug

document.getElementById('btn-show-scanner').addEventListener('click', async() => { try { let scanner = await (pScanner = pScanner || Dynamsoft.DBR.BarcodeScanner.createInstance()); + scanner.dce.constructor._onLog = console.log; let rs = await scanner.getRuntimeSettings(); rs.timeout = 100000; await scanner.updateRuntimeSettings(rs);