Well I don't want to start Tomcat from within IDEA cause I have had tried
the latest builds and had discussions with Eugene Zhuravlev and I have
failed. Check the thread
Anyways, I guess the best way to debug a servlet in Tomcat
through IntelliJ IDEA is by using remote debugging process.
Can someone tell me how I can start Tomcat for remote debuging ?
I know if I want to start my server and connect to my debugger in my IDE
using shared memory, I can use the following parameter
and attach the name "mydebug" to IDEA's debugger
And if I want to connect via socket I can use this parameter
and attach the port "12345" to IDEA's debugger
But I don't know where to place the "-Xdebug -Xrunjdwp:transport..."
parameter in Tomcat.
Do I have to edit any file and place this parameter, or do I provide this
parameter from command prompt. Can someone help. Providing an example will