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

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -