Question

Logging and Debugging Scripts (javascript,jython) - Best practices

  • 16 March 2022
  • 0 replies
  • 124 views

I just wanted to get help how the best to deal with embedded scripts inside a pipeline.

What is the best practice:

  • Is there a way to see based on error shown in UI in which line the error occurred in embedded script ?
  • Is there any way to debug into the script ?
  • What is the best way to find root cause of an error (maybe exception handler with own logging - see below)
  • Is there way to emulate the pipeline behavior to test script inside an IDE ?
    (eclipse, intellij,...)
    So an easy we to emulate the sdc.records object which is the input for an embedded script ?

 

What i have found out so far:

 

Many thanks for your help.


0 replies

Be the first to reply!

Reply