Right now, to be able to do local dev, you need change the primary URL to something like an ngrok domain. Without doing that, the base URL will be your local URL.
It would be very nice to have a configuration option to change the base URL for the webhooks.