Use the Identity Manager debug pages to set trace options on the following classes:
com.waveset.adapter.ScriptedHostResourceAdapter
com.waveset.adapter.HostAccess
See the Troubleshooting for the Top Secret adapter for more information about troubleshooting the HostAccess class.
There is always a com.waveset.adapter.Trace object passed in the context to the Javascripts. Enabling trace on com.waveset.adapter.ScriptedHostResourceAdapter will enable tracing in the Javascripts.
Additionally, for temporary tracing to stdout, the Javascripts can make calls to the Java System.out.println() method. For example:
java.lang.System.out.println(“Hello World”);