Unitech / Unitech/pm2

pm2 with debug from visionmedia

Open
#4,703 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Inspecting
Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

I've updated to the latest version of pm2, which is version 4.4.0, from 3.5.1. but then when I was using express.js with debug lib. The debug message wasnt displayed even tho I've set the env variables according to the debug doc. (Read Here: https://github.com/visionmedia/debug#readme ). later when I downgraded to 3.5.1 of pm2, it started working again. May I please get some guidance of what we went?

Here's my ecosystem.config.js:
Screen Shot 2020-05-13 at 7 28 27 PM

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

Start with the reported ecosystem.config.js and the debug documentation, then reproduce the missing messages under pm2 4.4.0 and compare with 3.5.1 using the stated environment variables. Done means identifying the version-related cause and confirming that debug output is restored or the incompatibility is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, nodejs
Domain
cli, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.