Optionally serve locally not in debug mode