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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -