Before you can debug EGL Web applications, you must configure the server for EGL debugging. You need to do this configuration step only once per server. If you use Tomcat, make sure that you request EGL debugging support at the time you define the new server to EGL.
EGL Debug is the default debugging mode. If you want to debug generated Java™ code rather than the EGL JSF handler, see "Debugging Java code" later in this topic.
To configure a server for EGL debugging, do as follows:
EGL assumes that you want the server to debug EGL JSF Handler parts. If you want to debug generated Java code instead, you must set the egl.jsfhandler.debug system property to FALSE. Do this by passing the property as a VM argument to the server. Methods for doing this depend on which server you are running.
On Apache Tomcat, edit the VM arguments section of the launch configuration (
), as in the following figure:Restart the server for the property to take effect.