Seeing console.log() server side output?


How can I make console.log() output show up in the terminal where I run the server?


On the server it just works.

From the client you have to call a server method:

// Server
  logToConsole: function(msg) {

// Client"logToConsole", "Hello World")


You’re right. I was confused by several other things. Thanks!


How can I do this but for the “real server” (my VPS, my staging server)? I am deploying with mupx if that matters.


I would like to know that also.