0

I have the Maven Web App, where I have to many dependencies. I am trying to create the Remote Debug configuration in eclipse to debug jars when my home page open. As I am aware to to the debugging on java code, how can i do the same with maven dependencies.

Thanks,

nitind
  • 19,089
  • 4
  • 34
  • 43
Vivek Dhiman
  • 1,967
  • 6
  • 46
  • 82

1 Answers1

0

You can debug libraries from maven the same way you debug your code. Nothing special need to be configured in debugger.

You just need to make sure for the libraries you're going to debug, sources are available in eclipse.

You can either download and specify them manually, or let maven download sources automatically for you.

Community
  • 1
  • 1
Amila
  • 5,195
  • 1
  • 27
  • 46
  • Hi, Actually I want to debug the dependency at level 2. In my project, dependency that I am using if drive from other project by using mvn clean install, and that other project having dependencies say "d1". So I want to debug "d1" in my project. Just tell me will that be work? – Vivek Dhiman Feb 01 '17 at 03:26