Separate Node flags from script arguments.
Section: Watch Mode, Test Runner, and REPL
Pass script args after double dash
bash
bash
node --trace-warnings app.js -- --port=3000 --verboseExplanation
`--` tells Node to stop parsing its own flags and pass the rest to your script.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Watch Mode, Test Runner, and REPL