To debug extensions, Chrome uses the "View Pop-up Window" menu option when you right-click the extension icon (top right in the browser). I believe that these options have been recently removed (possibly with the latest version of Chrome 20 that I am using).
You can activate the debugging console by right-clicking on any element of the extension pop-up window and selecting Inspect Element. However, the problem I'm experiencing is that whenever I have the debug console open now, embedding form elements in a popup does not work. Despite the fact that the form element seems to have focus (it has a blinking cursor active), all entered input goes directly to the debug console.
Refresh . It seems that the focus is not specifically for the debug console, but depending on which window is lower. It looks like an extension window - it is a "stay on top" window without writing any input.
Update: 2012-07-24: Updated to 22.0.1215.0 (Official Build 147830) dev
, and the error still exists. But yay, Youtube full screen now suddenly runs on my dual screen system!
Update 2012-05-09: Updated from 20.0.1123 to 20.0.1130.1 dev on Linux x64 (Ubuntu 12.04). The problem still exists and makes debugging extensions much more difficult than necessary. Also confirmed behavior in an earlier release of Chrome (20.0.1105.0). Well, maybe it's just me ...
Update 2012-05-09 2: Assuming this is a bug, consider adding a background page to your popup and go to that console on the page until the error is fixed. At least it makes my life easier.
Update: 2012-10-19: As omri writes (and points to), the Inspect Popup option is on this way to return to Chrome, which I hope will solve this problem (finally).
Can someone confirm / reject this behavior and / or suggest possible workarounds?
source share