Simulate passing command line parameters in Node.js -


i can pass parameter node program on command line, if i'm in node, how simulate this?

i want node --inspect launch node , connect chrome debugger before launching app. @ node prompt, there way require() script , pass parameter can pick process.argv?


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

asp.net mvc - how to pass 'true'/'false' data from Controller to View using jquery for bootstrap validator in MVC -