-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't set debug port by specifying --node-args="--debug=7001" #610
Comments
From node man:
|
Hi @soyuka. Yeah I saw the --debugger_port option via "node --v8-options". Unfortunately, that isn't setting the port either. Strangely, the command below succeeds, which is why I was thinking this issue might be pm2 related.
I'm running pm2 v0.9.5, and node v0.11.13 |
I've just tested with a basic server and the
Just tested with |
Thanks for verifying @soyuka - thought maybe I was going crazy. I haven't had time to check, but I'm wondering if this bug can be found in pm2-axon-rpc? |
But why would it work with |
It's crazy but cluster
I can't figure out why... |
Hope it will be fixed in Node 0.12 |
In your PM2 configuration file I think you have to use this parameters: |
@HighSoftWare96 it's not working. |
Same here, it's not working. I start my process with
and here are the contents of
after starting it I get node listening on a different port (currently 9694, but it changes on every restart). I've already tried several variations such as specifying Running |
Never mind, it now works. I don't know what I did to make it work (or what I was doing wrong), but it works. |
When running the above cli command, the node process does receive the "--debug" argument, but ignores the port. The console responds:
I am assuming port #5863 is just a default selected by node. Any ideas why the port isn't getting set?
The text was updated successfully, but these errors were encountered: