이 콘텐츠는 선택한 언어로 제공되지 않습니다.
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);
Seam.Remoting.setDebug(true);
Or configure it in
components.xml
:
<remoting:remoting debug="true"/>
<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)
.