You only want to do this if we're actually being run in a dev environment.  I think you want to check on whether this is production or dev, and respond accordingly.