How to debug struts application?

I have developped a struts application that uses businnes logic in a jar file.
How do I setup intelliJ to be able to debug the code in the jar file?
If I add the jar file to the IntelliJ project as a library I cannot debug the code.
If I add the sources to the IntelliJ project it expects the classes to be present in the War file, but they are actually in the jar file that is in the war file.

thanks

Peter.

Please sign in to leave a comment.