问题描述
我无法在Intellij IDEA中调试我的代码。当调试模式处于活动状态并且正在运行时,但是断点没有选中表示有效和可中断断点的v。
I can't debug my code in Intellij IDEA. When debug mode is active and running, but the breakpoints don't have that "v" checked that represents a valid and stoppable breakpoint.
查看图片:。
我真的在网上搜索一个答案。我想做什么?
I really search on the web for an answer. What I suppose to do?
推荐答案
我没有成功尝试所有提到的内容。
唯一有用的信息是。
I have tried all mentioned here without success.The only helpful information is here.
实质上,您应该通过将以下内容添加到 grails-app / conf / BuildConfig.groovy $ c中来禁用分支执行$ c>:
In essence you should disable forked execution by adding the following to grails-app/conf/BuildConfig.groovy
:
grails.project.fork = [
test: false,
run: false
]
现在可以在IntelliJ IDEA Ultimate Edition v.12.1.6中调试普通调试无需远程调试。
测试了Grails 2.3.1,Java 1.7.0_45,Windows 7 64位。
Now debugging is available in IntelliJ IDEA Ultimate Edition v.12.1.6 just by ordinary Debug without Remote debugging.Tested on Grails 2.3.1, Java 1.7.0_45, Windows 7 64-bit.
这篇关于IntelliJ IDEA调试器不适用于Grails项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!