This project is read-only.

How to debug when using child_process

Dec 7, 2013 at 6:06 AM

Trying to use node.js to isolate JS plugins created by others through the child_process API in node.js. I can't get the child process to interact with the parent when running with the debugger, I get no errors running this code but the client can't send or receive messages, or write to console.log. I do get a console message that the debugger is running from both the parent as well as the client. When I run without the debugger it works fine.

The best I can do is run the remote debugger and attach to the node process and I can get the breakpoints to work. However that doesn't enable me to step through the client code at code startup as I can't attach to the debugger quick enough!

Do I have any other options to debug child processes?
Nov 27, 2014 at 4:21 PM
Hey Deandbob, did you ever figure this out?
Nov 27, 2014 at 7:30 PM
There are no options other than manually attaching at the moment. Please upvote the issue that is tracking the feature request to add special support: