docs: function debugLog(browserWindow, message) {
    // need the timeout as it takes time for the preload javascript to be loaded in the window
    setTimeout(() => {
      browserWindow.webContents.send('debug', message);
    }, 3000);
    log.info(message);
  }