Here's a brief description of how to configure JSP source-level debugging
1. First create a WebApp run configuration in "File | Project Properties |
2. The parameters available:
- WebApplication: a web application to be debugged. The combobox contains
a list of applications that are configured in "Project Properties | Web"
- ApplicationServer: a server to be used to debug the web application
(currently only Tomcat server is available)
- debuggee host: a host at which the app server runs (for Tomcat this is
"localhost" and the field is not editable)
- debuggee port: a port at which the debuggee will listen to the
connection from a debugger
- Catalina home: the home directory where the Tomcat is installed
- Path to Catalina configs: a directory where all Tomcat configuration
files can be found (server.xml, web.xml etc), defaults to
- Application context path: a context path to be used for the debugged
web application (IDEA suggests to choose one of the paths configured in the
- VM parameters: additional VM parameters to be used when starting Tomcat
- Include project classpath: if checked, the project classpath will be
exposed to Tomcat, otherwise Tomcat searches for the classes in the default
When the WebApp configuration is started, IDEA starts Tomcat and configures
it to run the WebApplication specified in the run configuration. All
breakpoints set in JSP files should work as well as expression evaluation
and value tooltips.
Any questions and bugreports are welcome.
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"