I cannot work out how to debug or log my javascript using Sage 9. I know I’m thinking about the whole situation wrong, because an hour of googling hasn’t shown any leads.
Previously I used console.log()
to debug. With Sage 9 this throws Jshint warnings, and I can’t seem to actually output anything to the console. What is the proper way to log output from my scripts?
Thank you for any help with this very dumb question!