i'm injecting a js file to every page in google chrome via
chrome.browserAction.onClicked.addListener(function(tab) {
chrome.tabs.executeScript(null,{file:"js/content.js"},function(resultArr){
console.log(resultArr);
});
});
content.js
console.log("hello stackoverflow");
I can see hello stackoverflow printed in the console of the webpage. But i'm not able to find the source file, so i can debug it. Any idea how?
Tools > Developer tools > Sources?manifest.json, but can't find this. maybe becoz its injected programmatically.