When working on a Pivotal Client Script, we often add the “stop” statement to launch the script debugger and then remove it from the release version. Most of the time we forget to do it, right?
Fortunately, Pivotal has a feature to turn on the debug flag (UIMaster.DbgFlag) by adding &debug at the end of the url to launch Active Access as below:
http://localhost/epower/rdaui.htm?cms59&http://localhost&debug
I found this flag is very useful when it is combined with our favorite “stop”statement.
If DbgFlag Then Stop
We can just leave the code on the release version and it won’t be executed unless we add the &debug at the end.