Added debugging for dev environment.