Which command can the web developer run to see what the module is doing during the latency period?

developer has a web server running with Node.js. The command to start the web server is node server,js. The web server started having latency issues. Instead of a one second turn around for web requests, the developer now sees a five second turnaround,

Which command can the web developer run to see what the module is doing during the latency period?
A . DEBUG = http, https node server.js
B . NODE_DEBUG =http, https node server.js
C . DEBUG =true node server.js
D . NODE_DEBUG =true node server.js

Answer: C

Subscribe
Notify of
guest
2 Comments
Inline Feedbacks
View all comments
Pavan
Pavan
2 years ago

Answer was B . NODE_DEBUG =http, https node server.js

Simon
Simon
2 years ago

Why are we using DEBUG and not NODE_DEBUG?