no-translate

Widget Debug mode

Debug installation problems in the debug mode.
Image
Napisany przez Konstantine
Zaktualizowano 2 lata temu

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.

Image

… or whether your organization got initialized.

Image

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

Image

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

Image

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

Image

And many other things.

Czy odpowiedzieliśmy na Twoje pytanie?