How can I access to my nodeJS app in console on my server?

I have an application nodeJS started like a deamon with forever(https://github.com/nodejitsu/forever).

So now, how can I access to my app and be abble to watch and change values of variables with SSH connexion on my server?

How open console on my app without interuption of service?

thx.

You should give node-inspector a look.

There's nothing built-in for that.

However, you can create a function on the server that will eval whatever string you put as parameter.

To query that function, you can use ajax or socket.io for example.

Socket.io example

    socket.on('evalStr', function (str) { eval(str);}); //server
    socket.emit('evalStr', "myVar = 10;"); //client via console

Edit: Of course, you can add security such as testing a password before evaluating.