Closed vdurante closed 2 years ago
I like the idea of developing my script locally, but it seems that there is no way to debug it, since the google functions are not accessible locally.
You can write a local mock server that simulates the Google Script API calls and can be invoked only when the proces.env. NODE_ENV environment is not production.
proces.env. NODE_ENV
production
See https://github.com/dan-kushnaryov/gas-mock-globals
I like the idea of developing my script locally, but it seems that there is no way to debug it, since the google functions are not accessible locally.