Enabled error reporting if running from localhost.