How to check output of a Node.JS script?

Tiger Oakes 9 years ago 0
I'm currently trying to set up a Node script on Ajenti. I'm using express and have enabled proxies in it, but I am unable to view the page when I check it in my browser. It works fine if I launch the script manually, but won't be directed through nginx.

How would I check the output of the script and console?