how to make creator widget sdk work on my localhost

how to make creator widget sdk work on my localhost

Greetings

i'm trying to connect my widget to my zoho creator app, what i have now in my code is the basic example:

    ZOHO.CREATOR.init()
      .then(function (data) {
        console.log(data);
      }).catch(err => {
        console.log(err);
      });

this code doesn't work locally, it only works when i pack the widget and add it to my creator app. 
but i need it to work locally somehow so i can test my code operations as i run it, i can't afford to pack and update the widget each time i have to debug or test anything simple.

how can i add my acc credentials and creator app here so i can connect to it locally and be able to test my code as i change it?

Thanks