I use IntelliJ’s debug feature a lot and recently stumbled upon some really basic stuff. I compiled my web application, deployed it in Resin and tried to debug something and I saw that my break points were not being recognised. After some poking around, I realised that I had not compiled the Java classes with debug option enabled. I went back to my Ant task and set the debug option to true. Things reverted back to normalcy.