Difference between revisions of "ATC/Current/SDK/debug"
From Genesys Documentation
DannaShirley (talk | contribs) (Published) |
|||
Line 2: | Line 2: | ||
|Standalone=No | |Standalone=No | ||
|DisplayName=debug | |DisplayName=debug | ||
− | |||
|TocName=debug | |TocName=debug | ||
+ | |Context=Learn how to send helpful messages to the console when you are troubleshooting tracking behavior. | ||
+ | |Dimension=UtilityMethods | ||
|ComingSoon=No | |ComingSoon=No | ||
− | | | + | |Platform=PureEngage, PureConnect, PureCloud |
+ | |Prereq= | ||
|Section={{Section | |Section={{Section | ||
|sectionHeading=debug | |sectionHeading=debug | ||
− | | | + | |anchor= |
− | |||
|alignment=Vertical | |alignment=Vertical | ||
+ | |Media= | ||
+ | |image= | ||
|structuredtext=To turn on debug mode, invoke the <tt>debug</tt> method. This mode logs helpful messages to the console. | |structuredtext=To turn on debug mode, invoke the <tt>debug</tt> method. This mode logs helpful messages to the console. | ||
Line 23: | Line 26: | ||
ac('debug', false); | ac('debug', false); | ||
</source> | </source> | ||
− | | | + | |structuredtextwide= |
+ | |FAQHeading= | ||
|Status=No | |Status=No | ||
}} | }} | ||
}} | }} |
Revision as of 10:09, June 10, 2020
This topic is part of the manual Journey JavaScript SDK for version Current of Genesys Predictive Engagement.
Contents
Learn how to send helpful messages to the console when you are troubleshooting tracking behavior.
debug
To turn on debug mode, invoke the debug method. This mode logs helpful messages to the console.
This example shows how to enable debug mode
ac('debug');
This example shows how to disable debug mode.
ac('debug', false);
Comments or questions about this documentation? Contact us for support!