Is there a method to troubleshoot code that has been added through the firefox developer console terminal? For example, I added
document.onkeydown = function(event) {
// code logic for checking keys pressed
}
If only I could determine which .js file the javascript entered from the developer console is stored in, then I would be able to debug it. However, this has been a challenge for me so far.