I am using supervisor to auto-reload my node.js, e.g.
supervisor -w . app.js
However I can’t work out how to get supervisor to run the node.js process in debug, e.g. the equivalent to
node --debug app.coffee
Anyone got any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This solution will work for *nix:
Go to
/usr/local/binor any other directory in your $PATHCreate an executable script (say, node-debug) with the following contents
To make it executable:
Now you can run supervisor like this:
P.S.: To round it up: