Debugging legacy tomcat applications

Hello,

I hve troubles debugging a remote Tomcat application. The project is composed of 25 standard Java modules and the code is generated and deployed to Tomcat using Ant. I have not created Web module as it is a legacy project that I did not start with Intellij IDEA.

I successfully manage to attach to the remote Tomcat node for debugging but:
- The code editor does not show the current line of code execution. I only see the line number and class in the debugging Windows.
- Intellij tells me that he does not find something called scratchpad directory and that he cannot debug JSP code.

Is there a way to make the debugger (remote Tomcat) work properly on a legacy project ? What should I do to make Intellij IDEA aware of its needed information ?

Thank you in advance !

--
Mickaël Rémond

Please sign in to leave a comment.