Setup some better error logging for a dev environment.