How to view variable and sensor values?

Is there a way to see the values of variables or sensors?
My program is not behaving as I would like and I’d like to basically print out the values of certain variables/sensors at key times in the program.
I don’t want to speak the values because there’s probably not time to do that in the program without affecting the running of it.
I’m currently block programming although don’t mind dropping to Javascript if there is a way to just print to a console or log file.

Thanks!

SPHERO Email Marketing -