I will try to write a google extension. To remember the basic steps I decided to use the user guide to make a basic extension exactly as described here.
But in the part where I have to show the message "This is a popup!" the message is not shown in the console of the current tab.
I need to go to chrome://extensions/ and click on "Inspect views service worker" like the image below
Hello extesion in extension manager page
When I click on "Inspect views service worker (Inactive)" opens a devTools where I can see the message "This is a popup!".
And if I click on the extension again for the message to appear on the console again I have to reload the extension.
Can someone explain this behavior better to me? Why doesn't the message appear in the tab I'm using? Why do I have to reload the extension to see new messages? Will it be like every script I create?