To aid in tracking down bugs, it is possible to enable a debug mode which will display the contents of all the packets send back and forth between the client and server in a popup window. To enable debug mode, either execute the setDebug()
method in Javascript:
Seam.Remoting.setDebug(true);
Or configure it via components.xml:
<remoting:remoting debug="true"/>
To turn off debugging, call setDebug(false)
. If you want to write your own messages to the debug log, call Seam.Remoting.log(message)
.