coreybutler / coreybutler/node-windows

nodeOptions passed both to wrapper process as the service process

Open
#284 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.9k
Forks
368
PR merge metrics
No merged PRs in 30d

Description

All arguments set in `nodeOptions` are used to execute the wrapper service and then reused, to call the service itself.

If `--inspect` or `--inspect=` (where portnum !=0) is provided as nodeOptions it prevents from starting the service, as the wrapper process is already bound to desired port.

My expectations is that `nodeOptions` should be passed only to the service nodejs process and not at all to wrapper process or at least there should be a way to provide `nodeOptions` that will be used only by service process and not by wrapper process.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Trace where nodeOptions are applied when starting the wrapper and service processes, using the --inspect behavior as the reproduction case; done means service-only options no longer prevent the wrapper and service from starting.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.