首先按照http://blog.csdn.net/rthacker/archive/2010/06/22/5687661.aspx配置好调试SFS扩展
然后在配置文件“SFS/Server/conf/wrapper.conf”中增加如下配置:
# Java Additional Parameters
wrapper.java.additional.1=-server
wrapper.java.additional.2=-Dfile.encoding=UTF-8
wrapper.java.additional.3=-Djava.util.logging.config.file=logging.properties
# runtimedebug
wrapper.java.additional.4=-Xdebug
wrapper.java.additional.5=-Xnoagent
wrapper.java.additional.6=-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
wrapper.java.additional.7=-ea