Skip to content
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

Debugging workers #12

Open
neonsamurai opened this issue Jul 24, 2015 · 1 comment
Open

Debugging workers #12

neonsamurai opened this issue Jul 24, 2015 · 1 comment

Comments

@neonsamurai
Copy link

Has anybody figured out, how to debug worker code? Since it is run in a separate process I couldn't yet figure out a way to attach a debugger.

Do the worker processes have ports to which one could connect? I couldn't figure out if that's the case. The PID is shown, but debuggers need ports, so that's not much of a help. I also tried to get the ports by using the lsof tool, to not much effect. There are simply too many node processes running on my system...

Debugging with console.log() is so cumbersome...

Thanks in advance for any input.

@dasdeck
Copy link

dasdeck commented Dec 10, 2015

I remember debugging nodejs clusters. might be similar? however, i don't even know how to access nodejs environment from meteor. just an idea.

node-inspector/node-inspector#130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants