mixpanel debug option should allow logs.

Created on 8 April 2024, 3 months ago
Updated 11 April 2024, 3 months ago

Problem/Motivation

We have a debug option with the settings form but right now it is of no use. Usually debug option helps a lot while developing mixpanel functions in FE as well as BE since for every small function going to mixpanel platform can be a hectic task instead we just show it somewhere on the site makes more sense.

Steps to reproduce

Not applicable.

Proposed resolution

We can resolve this for Server side as well as Client Side:

  • For Client Side: Expose the debug setting in drupalSettings as we did for mixpanel Token.
  • For Server Side: Log debug messages to watchdog when the setting is turned on.

Remaining tasks

Build
Write test(s)

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India Vighneshh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024