Categories JavaScript Answers How to pass execution arguments to app using Node.js PM2? Post author By John Au-Yeung Post date September 10, 2022 No Comments on How to pass execution arguments to app using Node.js PM2? Spread the love To pass execution arguments to app using Node.js PM2, we use the -- For instance, we run pm2 start app.js -- --prod --second-arg --third-arg to start app.js with start. And then we pass in the arguments after --. Related Posts Pass the Event Object and Other Arguments to v-on in Vue.jsWe can pass arguments to event handlers when we call the in v-on. To pass… How to pass arguments to require (when loading module) with Node.js?To pass arguments to require (when loading module) with Node.js, we export a function. For… How to Pass Arguments in Computed Properties in Vue.Js?In Vue.js, computed properties are properties that are derived from other reactive properties. If we… By John Au-Yeung Web developer specializing in React, Vue, and front end development. View Archive → ← How to convert Mongoose docs to JSON with Node.js? → How to go back 1 folder level with __dirname with Node.js? Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Current ye@r * Leave this field empty