How to clear `chrome.storage.local` cache when developing a Chrome Extension?

Use chrome.storage.local.clear()

To check the status use a callback (optional):

chrome.storage.local.clear(function() {
    var error = chrome.runtime.lastError;
    if (error) {
        console.error(error);
    }
});

You can also use chrome.storage.local.remove() method if you want to remove any specific or list of specific object from Storage

chrome.storage.local.remove(["Key1","key2"],function(){
 var error = chrome.runtime.lastError;
    if (error) {
        console.error(error);
    }
})