Debugging O2O locally

I'm building a worker that uses O2O to Shopify and I'm curious how I can debug this locally.

I use fetch(request) which forwards the request on to the origin (Shopify) but locally it it won't know where the origin is. If I overwrite the url to fetch from Shopify it will hit my worker in production. How are others working around this w/ O2O?
Was this page helpful?