eclipse debugger: attaching source-code of maven dependencies?

前端 未结 4 1153
时光取名叫无心
时光取名叫无心 2021-02-01 20:48

I\'d like to use the source code of maven-managed dependencies when debugging our webapp in myEclipse 8.

I have managed to attach the sources to the libraries in the \"M

4条回答
  •  别那么骄傲
    2021-02-01 21:30

    I have since discovered that this problem only occurs if the server is launched using a launch configuration.

    The problem does not occur if the server is started by:

    1. click the server icon in the toolbar -> context menu appears
    2. mouse over the intended server -> submenu appears
    3. click on "Start"

    While this precludes sharing the server configuration by checking the launch configuration into version control, it at least allows seamless debugging.

提交回复
热议问题