How can we develop a custom app locally without impacting production?

We are developing a custom app for one of our clients when this problem was raised. Our app was deployed on Heroku and Heroku url was inserted into ‘App Url’ after deployment (see screenshot below).

I want to ask the community and shopify team of ways to develop the app locally without changing these URLs to ngrok since changing it will defininitely afftect our production app.