no-translate

Widget Debug mode

Debug installation problems in the debug mode.
Napisany przez Konstantine
Zaktualizowano 10 miesięcy 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.

… 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.

Czy odpowiedzieliśmy na Twoje pytanie?