to debug jsf application or a j2ee web application, you can set PROJECT_STAGE context parameter to Developement like this (in the web.xml file):
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
you can turn this parameter to Production to stop debug.
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
you can turn this parameter to Production to stop debug.