All,
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?
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?