2

I am new to spring and maven and I have one web application. I want to debug that application ,I have applied the breakpoints but still when I use debug application it doesn't come on the breakpoints. Can any 1 please tell how can i debug my program?

Sumeet
  • 111
  • 1
  • 16

2 Answers2

0

Just a guess: Are you running your project (with breakpoints) in DEBUG mode? Because if you use RUN mode - breakpoints won't be hit.

Ernestas Kardzys
  • 1,719
  • 2
  • 16
  • 21
0

to enable debug mode you have 2 options: 1- use your server from the IDE for ex. eclipse in debug mode. 2- use remote debugging check this link http://davidsblog.eu/remote-debugging-of-tomcat-using-eclipse/

if you are using embedded servlet container as maven plugins you have to configure it for remote debugging as in above link

Bassem Reda Zohdy
  • 12,662
  • 3
  • 33
  • 39
  • I am using Eclipse and in eclipse I am using tomcat server I can run my program directly from eclipse but i want to debug it so please tell what should I write in configuration so that it ll debug the program like for running tomcat program i am using "tomcat:run " – Sumeet Jan 10 '14 at 06:10