Adobe Launch - debugging/setting breakpoints for custom rules | Community
Skip to main content
Level 2
February 3, 2021
Question

Adobe Launch - debugging/setting breakpoints for custom rules

  • February 3, 2021
  • 1 reply
  • 1047 views

Is it possible to set dynamic breakpoints in custom rules in Launch? I found the file that was downloaded from Launch, but when I try and prettify the script in the chrome developer tools, it still stays as one line and I'm not able to set a breakpoint in the middle of the script for debugging purposes. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

yuhuisg
Community Advisor
Community Advisor
February 4, 2021

If you're referring to debugging within custom code, you can add your own logging lines.

E.g

 

_satellite.logger.info('A debugging message goes here'); // or to log an error _satellite.logger.error('An error message goes here');

 

See the "logger" section at https://experienceleague.adobe.com/docs/launch/using/client-side-info/launch-object-reference.html#platform-launch-object-reference. 

It's not the same as adding a breakpoint, but at least it helps you get some output to help with troubleshooting.