<iframe> <script src="http://jsconsole.com/remote.js?YOUR-UNIQUE-KEY-HERE"></script> <script> // Your js here </script> </iframe>
Now, when your script outputs to the console or throws exceptions, the output appears on jsconsole.com. You can also execute code from here, which will then run in the iframe on your device.
Two words of caution:
For additional tips and updates, see the Instant Articles Troubleshooting Guide.