How to debug macros

polina1
Kilo Contributor

I am using Istanbul version

Please explain how to debug macro?

I set this GlideProperties.set ( 'glide.ui.template.trace' , true ) ;

I saw this

<g:breakpoint/>

This tag can be used to display the current Jelly variables and their values in the log. Be sure to remove this tag before going to production.

in documentation but how to use this? Inside macro code? Where? How can I see the log?

Please post some example if possible

5 REPLIES 5

When you get that Script Complete page, that means session debug is enabled. In this case it's enabled the debug where you can see the log output - pretty much what goes into the Server Node Log Files. Those debug options are covered here: Session debug



So, this is good. You've activated it. Now, as you navigate the UI, debug is being generated and put at the bottom of a form, list and UI Page. For example, while it's active, open up an existing Incident and scroll below the form, you will see some additional info that's not normally part of the form. This is used heavily in Customer Support to investigate issues.