Links

Debugging

When debugging incorrect configuration use the journey.config get methods:
  1. 1.
    Open the debug console and change the console context to JourneyScript.worker.js
  2. 2.
    Confirm that the currently active theme is as correct by calling and awaiting journey.config.getTheme()
  3. 3.
    Confirm that the currently active theme extends from the correct parent themes and the order of these are as expected journey.config.getComputedThemes()
  4. 4.
    Get the computed theme by calling and awaiting journey.config.getComputedTheme()
  5. 5.
    Open the JSON object and traverse to config to find the problematic color or component config.
Last modified 4mo ago