Widget Debug mode

Debug installation problems in the debug mode.
Written by Konstantine
Updated 9 months ago

You can enable Debug mode when you need to debug the widget.

  // enable
  localStorage.setItem('helpcrunchDebugMode', true);

  // disable
  localStorage.removeItem('helpcrunchDebugMode');

This function lets you check whether the widget was generated for the page.

… or whether your organization got initialized.

Any of the HelpCrunch methods that have been called will be displayed in the console.

After you send your first chat message, its status will be displayed in the console as well.

Also, you can check if the chat has been launched.

And many other things.

Did this answer your question?