In order to debug with node-inspector
I need to start my app with the node --debug
command. Up to this point I have only used sails lift
to start my Sails.js app, so I am unsure of how to start my app using the normal node
command.
sails inspect
since Sails v1.0
As of sails v1.0, sails debug
is deprecated for newer Node.js, and you should instead use sails inspect
.
This is documented at: https://sailsjs.com/documentation/reference/command-line-interface/sails-inspect and is presumably done to match the newer node --inspect
interface.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With