cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is there a way to debug BeanShell and Groovy scripts?

0 Kudos
1,391

As everybody know Hybris has great tool to write scripts. It helps a lot during transform or migration data. Some times this scripts became too big for understanding. From this my question: Is there a way to debug BeanShell and Groovy scripts in Hybris?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos
Former Member
0 Kudos

Hello Volodymyr

Since we are talking about scripts is impossible to debug them in the hAC BUT you could trace the actions of your script turning on the logs for the script engine. Paste the following property in your local.properties (then ant) or in runtime change the property in the hAC>Platform>Configuration

 log4j.logger.de.hybris.platform.scripting.engine=DEBUG

look at this documentation for more info https://wiki.hybris.com/display/release5/hybris+Scripting+Engine#hybrisScriptingEngine-Logging

Best Regards

JC