A typical feature in manu http stacks is to return detailed exception message debug info in rest routes, but only when in development mode. How can this be done in Spring? I