Debugging web app in IntelliJ 4.5.4
Hi,
I am trying to debug a web app through IntelliJ. I am using Tomcat 5.5.9. IntelliJ´s debug settings use a startup and shutdown script, which by default is catalina.bat. I don´t have a catalina.bat file, just tomcat5.exe to run tomcat as a windows service (which I am having problems with).
C:\apache\tomcat_5_5_9\bin\tomcat5.exe starts the server ok.
C:\apache\tomcat_5_5_9\bin\tomcat5.exe //SS//Tomcat5 throws a path not found error, which leaves the port 8080 listening (I can´t connect again).
Does anyone know what the correct script settings would be?
Also, when tomcat starts up, IntelliJ gives me an error.
It can´t connect to the VM on the debug port. The debugger doesn´t stop on any break points.
Does anyone have an idea about this?
Thank you for any help,
William
Please sign in to leave a comment.
Hello William,
You have to use zipped Tomcat distribution, it contains the necessary batch
startup scripts. Also take a look at this guide: ftp://intellij.net/pub/.idea/TomcatTutorial/TomcatJspDebug.zip
.
--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
The solution that I saw posted gave me no resolution. Did you find out how to run Tomcat and debug from Intellij?
I am having troubles.
Hello Michael,
Please describe in detail what problems you have when following the tutorial
I suggested.
It's recommended to write about such problems to support instead of the newsgroups,
you can contact me at support@jetbrains.com with the detailed description
of your problem, but make sure you've read the tutorial first.
--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"