Node Args does not work in cli
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
pm2 reload ./release/server.js node-args="--report-uncaught-exception --report-on-fatalerror --report-on-signal --report-directory=./reports"
Above command does not log the diagnostic report. It shows in pm2 describe but the reports are not logged.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the shown pm2 reload ./release/server.js command, then inspect the CLI handling of node-args and compare it with what pm2 describe reports. Done means the supplied Node diagnostic-report flags cause reports to be written to ./reports after reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100