Is there anyway to debug code that has been written to a new window from the parent?
I have tried innerHTML, textContent, document.write, and append child. But none of them show up in the source console in chrome/ff. Any associated files do, but the source itself does not.
Maybe there is a way to do this with sockets or some other api...
This is what it looks like after I do a doc.write() or any of the other approaches, quite bare :/
*Note: If I include a reference to a file like <script src="jquery.js"></script>
it is possible to debug that, but not any scripts embedded in the root html page itself.
My last ditch approach will be to put all the scripts in a file and link to them from the window, but if possible it would be nice to be able to debug the window scripts themselves as well. As my solution will be dynamic and it is easier to create a new window than a file in js.