I've been working on this all morning trying to get debugging to work with Jboss. Using myeclipse I had this working fine, so I'm sure I can have this working in IDEA with a bit of help.
Currently I have this project that has a bunch of modules (which were a pain to set up because we use maven to build everything so I had to look into all the project files to figure out classpaths). Regardless, I then use ant to move files as needed to an exploded Jboss directory (local).
I've tried setting up remote debugging and all I get is a "conecting to target JVM.." message and never a 'connected succesfully message, nor do breakpoints work (with suspend option set to 'y' the server never starts up either even after starting the debug session so I'm guessing the connection is not getting set up..tried using different ports also).
What I think would work best is if I ran Jboss from within IDEA and then debugged from there. I'm having difficulty setting this up. Any 'instructions for dummies' steps would be nice.
I read one post about setting up the debug options under "application" tab, but I'm not having much luck there either and not sure if that's where I really need to set up JBOSS to run from within IDEA.
Another thing I'm finding confusing is on many of debugging tabs it says on the bottom with a red warning "Module not specified." I don't see anywhere to specify a module for debugging, nor do I really understand what that is referring to since I'm guessing I should be able to debug the whole project and not just a single module?
I'm really confused (aka probably stupid) but really need to get this debugging set up working. Thanks for any help one could provide.