I just started out with Google Chrome extensions and I can\'t seem to log to console from my background js. When an error occurs (because of a syntax error, for example), I
If we want to read messages printed to console from the popup page, we can click the extension icon to open the popup page, then do right click on the popup page anywhere, a dropdown menu will display, we just click "Inspect" menu to open the developer tool. Notice that the popup page must be keep opening. If it is closed(by window.close()), the developer tool will be closed too.