Debugging in Maven?

前端 未结 8 1641
眼角桃花
眼角桃花 2020-11-28 02:56

Is it possible to launch a debugger such as jdb from Maven? I have a pom.xml file that compiles the project successfully. However, the program hangs somewhe

8条回答
  •  -上瘾入骨i
    2020-11-28 03:39

    If you are using Netbeans, there is a nice shortcut to this. Just define a goal exec:java and add the property jpda.listen=maven Netbeans screenshot

    Tested on Netbeans 7.3

提交回复
热议问题