Would be nicer if this sort of debug stuff would only be enabled in the dev handler. If we want proper logging then it would make sense to use some logging library.