Marco
Marco

Reputation: 281

Debug output nodejs in Visual Studio Code

I am running Visual Studio Code on Ubuntu. Debugging a nodejs app works fine after installing mono. But where can I find the output produced by console.log?

Upvotes: 3

Views: 3285

Answers (1)

agoldis
agoldis

Reputation: 1067

When in the editor, either:

  • hit CMD-Shift-P then type Console and choose Open New console

or

  • hit CMD-Shift-C

a console window will be opened with nodejs stdout and stderr connected to it

Upvotes: 2

Related Questions