Unitech / Unitech/pm2

Node Args does not work in cli

Open
#5,387 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.