Updates: Status: WontFix Comment #4 on issue 17373 by pfeld...@chromium.org: [feature request] debugging content script http://code.google.com/p/chromium/issues/detail?id=17373
I need more detailed steps for this one. When I am using following content script, everything works as expected: document.addEventListener('keydown', function(event) { console.log(event.keyCode); a.b = c; }, true); When I hit any key, debugger stops on line 'a.b = c' and tells that there is an error in that line. If debugger is not opened, I will find error message in the console later: Uncaught ReferenceError: a is not defined chrome-extension://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/foo.js:3 Validated on ToT -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---