I think the best way to do this is to actually open a popup on the page. To do this, use the URL:
chrome extension: // {extension-ID} / {page.html}
This allows you to use the Chrome developer tools, and when you click update, the extension is updated with the latest code changes. He also updated the extension popup.
source share