Skip to main content
Source Link
Scimonster
  • 14.7k
  • 4
  • 36
  • 67

Add a console to Stack Snippets

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.

1 2 3
4