javascript - Nodeclise , Enide does not execute the cluster code on debug mode -
i using eclipse enide build nodejs application. able run right , web services running.but while debugging choose debug > node application . see no error, console shows debugger running on port 5858 , 5859 (its cluster). same web service endpoint gives error connection refused.
on debugging see cluster code never executed , break never hit.
const throng = require('throng'); var http_servers = []; throng({ workers: process.env.web_concurrency || 1, lifetime: infinity },mainservercode); function mainservercode() { // require('newrelic'); var express = require('express'); // code never hit ....
what reason , check it. thanks
Comments
Post a Comment