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);
  // eslint-disable-next-line no-console
  console.log(message);
}
/**
 * Helper method to print debug messages from the main process in the browser window
 * @param {BrowserWindow} browserWindow
 * @param message
 */
Helper method to print debug messages from the main process in the browser window
@param {BrowserWindow} browserWindow
@param message
Helper method to print debug messages from the main process in the browser window @param { BrowserWindow } browserWindow @param message
function debugLog(browserWindow, message) {
  setTimeout(() => {
    browserWindow.webContents.send('debug', message);
  }, 3000);
  console.log(message);
}
function debugLog ( browserWindow , message ) { setTimeout ( ( ) => { browserWindow . webContents . send ( 'debug' , message ) ; } , 3000 ) ; console . log ( message ) ; }
Helper method to print debug messages from the main process in the browser window
 @param {BrowserWindow} browserWindow
 @param message
Helper method to print debug messages from the main process in the browser window @param { BrowserWindow } browserWindow @param message
// need the timeout as it takes time for the preload javascript to be loaded in the window // eslint-disable-next-line no-console