Difference between revisions of "ATC/Current/SDK/debug"

From Genesys Documentation
Jump to: navigation, search
m (Text replacement - "\|Platform=([^\|]*)GenesysEngage-onpremises([\|]*)" to "|Platform=$1GenesysEngage-cloud$2")
(Published)
Line 6: Line 6:
 
|Dimension=UtilityMethods
 
|Dimension=UtilityMethods
 
|ComingSoon=No
 
|ComingSoon=No
|Platform=GenesysEngage-cloud, PureConnect, GenesysCloud
+
|Platform=PureConnect, GenesysCloud, GenesysEngage-cloud
|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.
  
This example shows how to enable debug mode
+
This example shows how to enable debug mode:
 
<source lang="javascript">
 
<source lang="javascript">
 
ac('debug');
 
ac('debug');
Line 22: Line 18:
  
  
This example shows how to disable debug mode.
+
This example shows how to disable debug mode:
 
<source lang="javascript">
 
<source lang="javascript">
 
ac('debug', false);
 
ac('debug', false);
 
</source>
 
</source>
|structuredtextwide=
 
|FAQHeading=
 
 
|Status=No
 
|Status=No
 
}}
 
}}
 
}}
 
}}

Revision as of 19:07, December 16, 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);
Retrieved from "https://all.docs.genesys.com/ATC/Current/SDK/debug (2025-06-23 18:16:06)"
Comments or questions about this documentation? Contact us for support!