You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to Gulp, and new to this project, but basically I am working on some node code that uses a base project, such that our code gets copied in as a module to theirs. We use gulp to start the app, and I'd like to add a task that will start it using node-inspector instead of plain node, but I am struggling.
Where base:default is the task we run from the "parent" project, which copies our code in and runs 2 servers, one using Hapi for the web app and another started via gulp-nodemon that serves as a proxy for REST requests (proxies to a Java-based REST app or regurgitates pre-canned simulated responses). I this case, the only thing I want to debug is the Hapi server.
I have tried several iterations of the debug task, but nothing seems to work. If I pass default in as a dependency to the gulp.task('debug'), the app servers start but nothing is in the node-inspector. On the flip side, if I pass default to gulp.src() neither the web server or the REST proxy start, and node-inspector shows nothing.
How do I get node-inspector working when the tasks that start the app are pulled in from a separate gulpfile.js that I have no control over?
The text was updated successfully, but these errors were encountered:
I am new to Gulp, and new to this project, but basically I am working on some node code that uses a base project, such that our code gets copied in as a module to theirs. We use gulp to start the app, and I'd like to add a task that will start it using node-inspector instead of plain node, but I am struggling.
In our gulpfile.js I have:
Where
base:default
is the task we run from the "parent" project, which copies our code in and runs 2 servers, one using Hapi for the web app and another started via gulp-nodemon that serves as a proxy for REST requests (proxies to a Java-based REST app or regurgitates pre-canned simulated responses). I this case, the only thing I want to debug is the Hapi server.I have tried several iterations of the
debug
task, but nothing seems to work. If I passdefault
in as a dependency to thegulp.task('debug')
, the app servers start but nothing is in the node-inspector. On the flip side, if I passdefault
togulp.src()
neither the web server or the REST proxy start, and node-inspector shows nothing.How do I get node-inspector working when the tasks that start the app are pulled in from a separate gulpfile.js that I have no control over?
The text was updated successfully, but these errors were encountered: