I am using Eclipse for Node.js development, along with the Nodeclipse Plugin. I am curious to know, that for a node.js program which is launched via Eclipse, how does Eclipse stop the process, when the stop icon in the console is pressed? My node.js program has signal handlers for SIGINT and SIGTERM- however, they are not invoked when the process is terminated from Eclipse.
Does Eclipse even send one of these signals? If it does not, how does Eclipse terminate the process? Is there a way to influence this?