IExceptionSettings.SHOW_EXCEPTION_PAGE); getDebugSettings().setAjaxDebugModeEnabled(true); getResourceSettings().setStripJavascriptCommentsAndWhitespace(false); IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE); getDebugSettings().setAjaxDebugModeEnabled(false); getResourceSettings().setStripJavascriptCommentsAndWhitespace(true);