After spending another day recreating my project, I am still having problems debuging my source code. I have 2 webapps configured and they are building correctly. I can use the webapp now so I know the deployment is correct.
I am still getting the message "breakpoint is invalid source code changed" when I try to debug even though I havent changed any code (I was spending my time configuring Idea!) . When I look at the deployed webapps however, I only see one of the webapps. The other one is not listed when I debug. I found the debug config panel(Run/Debug Configurations) has only the one webapp deployed. Why? Idea is deploying the missing webapp correctly but does not show it in the Deployment list. I think this is why I cannot debug.
I have recreated the project, webapp, modules etc. I have restarted Idea, PC, Friends pc (just in case) but still no go. Is there a bug with reusing my tomcat config? Should I restart/rebuild it?