Grails2.4重新加载和调试don';我不能同时工作
我尝试使用以下方法调试spock测试,该方法在Grails 2.3中使用,但在2.4.4中不再使用:Grails2.4重新加载和调试don';我不能同时工作,grails,intellij-idea,Grails,Intellij Idea,我尝试使用以下方法调试spock测试,该方法在Grails 2.3中使用,但在2.4.4中不再使用: 在终端中使用:grailsdebug-reloading-Dvar=blah启动grails 在Intellij中启动远程调试器 我可以从grails控制台运行测试、调试它们、修改服务并自动重新加载它们,这让我感到非常高兴 自从Grails2.4以来,grails调试脚本就消失了,取而代之的是grails-debug。但我发现,-debug只在它是第一个参数时有效,然后它忽略了-reloadin
grails.reload.enabled = true
//forkConfig = [maxMemory: 1024, minMemory: 64, debug: true, maxPerm: 256]
//grails.project.fork = [
// test: forkConfig, // configure settings for the test-app JVM
// run: forkConfig, // configure settings for the run-app JVM
// war: forkConfig, // configure settings for the run-war JVM
// console: forkConfig // configure settings for the Swing console JVM
//]
并尝试:
grails.reload.enabled = true
forkConfig = [maxMemory: 1024, minMemory: 64, debug: true, maxPerm: 256]
grails.project.fork = [
test: false, // configure settings for the test-app JVM
run: false, // configure settings for the run-app JVM
war: false, // configure settings for the run-war JVM
console: false // configure settings for the Swing console JVM
]
在这两种情况下,我都不能调试测试并让它们同时重新加载服务
我的问题是:使用Grails 2.4.4和Intellij ultimate 13.1.5,如何同时完成以下所有工作: