Currently, to see console.log()
entries from StackSnippets, you need to open your browser console, and make sure it's recording from frames. Things could be a lot simpler if you would add a console to the snippets. Maybe something at the bottom of the snippet.
This could be done by overwriting the default console.log
function with a custom one that both writes to the browser console (keep a reference to the original function), and also writes to the snippet's console.
EDIT:
And perhaps also show errors thrown in this console.