Debugging in Maven?

前端 未结 8 1680
眼角桃花
眼角桃花 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条回答
  •  北荒
    北荒 (楼主)
    2020-11-28 03:52

    Why not use the JPDA and attach to the launched process from a separate debugger process ? You should be able to specify the appropriate options in Maven to launch your process with the debugging hooks enabled. This article has more information.

提交回复
热议问题