Default to non-debug mode if host is not localhost