Fitnesse在eclipse中的调试

需要在Fitnesse的wik中添加:

'''此句话专门用来Debug'''
!define COMMAND_PATTERN {java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1044 -cp %p %m}

在eclipse中的设置如图:

注意:在Fitnesse点击Test,页面处于Running Test的时候,在eclipse中立刻点击debug,超时后Fitnesse可能会类似的报错:

Could not complete testing: fitnesse.slim.SlimError: Error connecting to SLiM server on localhost:8089

原文地址:https://www.cnblogs.com/fatfatdachao/p/4669594.html