Disable debug window for vaadin 7

Hi,

What’s the proper way to disable debug window in Vaadin 7 application ?

I put the following in the web.xml

Vaadin production mode productionMode true

However, when I add ?debug in URL, debug window still comes up

Is there a different way to do it in Vaadin 7

Maybe the production mode is se to false with Vaadin servlet annotations? The default Vaadin 7 projects created by the Eclipse plugin now use these annotations instead of the web.xml.


@VaadinServletConfiguration(productionMode = false,...

Jonni,

I do not use Eclipse or Eclipse plugins. Also, I do not extend the default Vaadin servlet and just use
com.vaadin.server.VaadinServlet

I’ve seen this annotation listed in the Book of Vaadin, however it’s not clear where this annotation should be used.