24.8. Debugging
To help you track down bugs, you can enable a debug mode, which displays the contents of all packets sent between client and server in a pop-up window. To enable debug mode, either execute the
setDebug()
method in JavaScript, like so:
Seam.Remoting.setDebug(true);
Or configure it in
components.xml
:
<remoting:remoting debug="true"/>
To turn off debug mode, call
setDebug(false)
. If you want to write your own messages to the debug log, call Seam.Remoting.log(message)
.