Sublime Forum

How to run so I can see console.log's

#1

I’m following along with a course on youtube to learn javascript, and early on the course explains using console.log to show what variables values are at various points in the code. They have the console open at the bottom, and run it, but they don’t explain how to run it. I have been googling for quite a while and getting frustrated with being unable to find this information. It seems very basic, but the problem is all the google results are for unrelated issues, and I can’t find anything on this.

How do you run the code so that it outputs in the bottom console?

0 Likes

#2

Can you paste the YT video link that you are using to learn JS ? As far as I can tell, the YT video creator might have used Terminus to run something like node <some_js_file> from the command line, but just a guess.

ST anyways doesn’t have a builtin way of running node programs automatically.

1 Like