How to debug a new module during development

Hi Daniel,Thanks for your reply. I want to debug through IDE Eclipse.I do not want to create unit test cases for a quick debug.I would like to put markers for debugging and understand navigation flow.

So i retried to package as WAR application so that i can debug my project Steps I have followed

My project structure is 
Parent
| - - Api
| - - Web

So i tried to reconfigure pom packaging for parent (POM),api (JAR),Web (war) below is my config but i am getting noclassdeffounderror exception . which i have posted in forum.