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