Console in code editing software

This is unrelated to any challenge on the website. I’d like to know, does the virtual studio code have the “console” to print out stuff or check the functions that i wrote ? I’ve thought the “output” tab would be the place where results are printed out, but it stays blank. I probably misunderstood what it is for.

“Terminal”.

“Output” generally shows things like build information.
(and “Problems” shows possible issues with code)

I havnt tried it myself, but this might help: https://pawelgrzybek.com/using-the-javascript-console-in-visual-studio-code/

When I want to test out snippets of code, I use https://repl.it, but since I mostly do web based projects, I just console.log the things I want to check on, then use chrome dev tools to view the results in console.

1 Like

use the code runner extension for vscode