Print Debugging in Web IDE

Is there a way to print to the web IDE? I’d like to be able to do everything from the web IDE because I’m not able to install everything to program locally.

I don’t see any sort of print-to-web-IDE function.


Hi @AlexMiller,

That’s a feature we’ve been wanting to add, but in the meantime you can use Spark.publish to track events on your core. Try adding a line like:

Spark.publish("logging", "some message");

Just make sure you’re not publishing more often than about once a second.

You can watch your events by modifying and opening this link:

In your browser pick “View Source”, and then you can watch the messages scroll by. :slight_smile:

If you have the Spark-cli installed ( ), you can simply type:

spark subscribe mine


1 Like