Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome extension - inspect views don't show up

I'm new to Chrome extension development. I tried to follow the "hello world" debugging tutorial at http://developer.chrome.com/extensions/tut_debugging.html, but I couldn't find the inspect popup menu or inspect views link to open the debugger when I right-click on the "hello world" icon.

I noticed that in my chrome extension tab: chrome://chrome/extensions/, there is an "inspect views" link which enabled me to open a debugger for Google translate extension that I've installed before. However, the "inspect views" link didn't show up for "hello world" extension (source code: http://developer.chrome.com/extensions/examples/tutorials/getstarted.zip).

I have tried to search if someone has a similar problem but I couldn't find one. I'm using Google chrome 21.0.1180.60 for Windows XP.

Thanks in advance for any suggestions to open the debugger!

like image 853
vqtr Avatar asked Aug 09 '12 00:08

vqtr


People also ask

How to inspect extension in Chrome?

To inspect it visit chrome://extensions , find the loaded extension, and "inspect active views" for the background script.

How to add debugger extension in Chrome?

Navigate to the chrome extensions management page at chrome://extensions and ensure developer mode is on. Click the Load Unpacked button and select the broken extension directory. After the extension is loaded, it should have three buttons: Details, Remove and Errors in red letters.


1 Answers

You are right... Try this:

  • Open the ext popup window by clicking on it
  • Right-click inside the displayed popup and choose the "Inspect Element" option
  • This will launch a dev tools instance for the popup.

For more details: http://samdutton.wordpress.com/2010/12/16/debugging-google-chrome-extensions/

like image 173
Ido Green Avatar answered Oct 12 '22 23:10

Ido Green