-
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
node_args are not passed to the node with pm2-docker #3257
Comments
I'm trying to use docker to create a cross platform local dev environment and this prevents me from using it for debugging. |
hi, any news about this? |
Hi, I've investigated this issue a bit more and the problem doesn't seem to be exclusive to
|
this seems to be working with PM2 version 2.7.2 without docker. |
@vmarchaud maybe we should update the issue title since this is not affecting |
tested with
|
this worked for me with node8:
of course, you also need to open port 9229 on the container (-p 9229:9229) |
pending release |
PM2 2.10.1 has been release:
|
Do you know why this configuration takes effect? |
As far as I remember (it was a very long time ago) 127.0.0.1 was the default inspect target, so you could only connect to node with a debugger if your debugger run inside the very same Docker container the Node also runs, which is of course usually not the case. |
I'm trying to enable remote debugging on my container but
docker-pm2
is not passing the interpreter args to the interpreter:as you can see on the output of
ps
,node
is not getting the extra args.The text was updated successfully, but these errors were encountered: