IntelliJ IDEA Debugger isn't working on a Grails Project

后端 未结 11 1831
孤独总比滥情好
孤独总比滥情好 2020-12-07 22:45

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 brea

11条回答
  •  孤街浪徒
    2020-12-07 23:24

    Try this:

    In idea choose Edit configurations from list next to 'run' button. Then add Remote, choose your name and left default remote configuration settings. (port 5005 etc)

    Run your app from console by using

    grails run-app --debug-fork
    

    In idea, choose your configuration from list and hit debug button when console display info:

    Listening for transport dt_socket at address: 5005
    

提交回复
热议问题