linux - Runing node server using "node server &" -
i have problem when running application node.js. use command "node server.js &"
run application in background, however, when application raises exception system falls. suggestion?
thank , sorry bad english
for small time debugging redirect stdout , stderr via pipes. start node server.js 1> stdout.txt 2> stderr.txt &
, beware if you're printing lot might want use better logging functionality handling uncaughtexception
, see node.js docs uncaughtexception
Comments
Post a Comment