support Debug Mode on Chrome Extension