In general we start a node process in debug mode like this
node --debug=5858 server.js
How to start debug mode in a already started node process using code or sending SIGUSR1 signal to node process.
I want to start debug mode without using any command line.
This question is totally different than "already asked question". Its very shameful thing that people are tagging this question as already asked without understanding the question standard way.