Skip to content

Add support for source map flags to pm2-runtime #5003

@OliverJAsh

Description

@OliverJAsh

What's going wrong?

When I run pm2-runtime app.js --disable-source-map-support, source map support is still enabled.

When I run pm2-runtime start app.js --disable-source-map-support, it says the flag is not supported:

  error: unknown option `--disable-source-map-support'

How could we reproduce this issue?

pm2-runtime app.js --disable-source-map-support or pm2-runtime start app.js --disable-source-map-support.

Supporting information

The docs say that this flag should be supported:

https://pm2.keymetrics.io/docs/usage/source-map-support/#disable-source-map-support

This is supported both via CLI and via a JSON file.

Tested with PM2 v4.5.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions