Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
156
rated 0 times [  163] [ 7]  / answers: 1 / hits: 15722  / 10 Years ago, thu, september 11, 2014, 12:00:00

I'm currently using node along with nodemon. Then I got to thinking it might be sometimes nice to use an inspector with node so have started using node-inspector



However, is it possible to run both at the same time?



Normally to run nodemon I would use:



nodemon server.js
//and similarly
node-debug server.js


I have also tried:



nodemon --debug http.js


But sadly this didn't work either.



But both together!?


More From » node.js

 Answers
28

You would start your server with nodemon --debug server.js and then you'll need to run node-inspector in a separate terminal window unless you push nodemon to the background.


[#69485] Wednesday, September 10, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jaylynkarinam

Total Points: 740
Total Questions: 103
Total Answers: 103

Location: Liechtenstein
Member since Wed, Dec 8, 2021
3 Years ago
;