Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 389
Marco Avatar asked Sep 17 '26 09:09

Marco


1 Answers

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

like image 86
agoldis Avatar answered Sep 20 '26 00:09

agoldis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!