Remote Debugging JSP

Hi,
I have IDEA 7. I am trying to set up JSP remote debugging, using the regular debug params (DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=6061) in catalina.bat. And then set up a corresponding configuration in IDEA. This works fine for java classes but not for JSPs. Setting a breakpoint in JSP indicates that it is not enabled.
I tried running tomcat server by the IDE but this gives me context path issues with some wars. Is that the way to enable JSP debugging?
Appreciate any help
Regards
Monmohan

2 comments
Comment actions Permalink

Are you using remote TomCat debug configuration or remote Java debug
configuration? In latter case breakpoints will not work

Monmohan Singh wrote:

Hi,
I have IDEA 7. I am trying to set up JSP remote debugging, using the regular debug params (DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=6061) in catalina.bat. And then set up a corresponding configuration in IDEA. This works fine for java classes but not for JSPs. Sett
ing a breakpoint in JSP indicates that it is not enabled.
I tried running tomcat server by the IDE but this gives me context path issues with some wars. Is that the way to enable JSP debugging?
Appreciate any help
Regards
Monmohan

---
Original message URL: http://www.jetbrains.net/devnet/message/5234924#5234924



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

This works, thanks a ton Maxim
Regards
Monmohan

0

Please sign in to leave a comment.