In Google Console I am configuring Google Drive SDK. On configuration page it asks for
Open URL (This URL is used when the user opens an existing Google Drive item with your application)
.
It looks like I can only define only one URL, so how does one go about testing this functionality locally? I can switch the URL to point to a localhost but what if my app is already live and I need to debug locally?
It is one of the problems with Drive that there is little support for dev/test environments.
The only solution I can think of for your specific question is around host name resolution. Something like ...