把附件中的debug.rar文件解压,放入tomcat的bin目录下,在eclipse中的toolbar中找到debug的图标,点击debug图标边上的下拉框,选择 debug configurations -->remote java application