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
-Xdebug -Xrunjdwp:transport=dt_shmem,server=y,address=mydebug
and attach the name "mydebug" to IDEA's debugger

And if I want to connect via socket I can use this parameter
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=12345
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 be helpful.
Thanks

Saumendra



_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to