Difference between revisions of "ATC/Current/SDK/debug"
From Genesys Documentation
DannaShirley (talk | contribs) (Published) |
|||
Line 8: | Line 8: | ||
|Section={{Section | |Section={{Section | ||
|sectionHeading=debug | |sectionHeading=debug | ||
− | | | + | |Standalone=No |
+ | |ComingSoon=No | ||
|alignment=Vertical | |alignment=Vertical | ||
− | |||
|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. | ||
Revision as of 13:34, January 17, 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!