Answer the question
In order to leave comments, you need to log in
How do you debit your Node apps?
Good day, advise the module for debugging the application. Of course, you can use standard debugging tools, those that the node gives, but when the project grew out of diapers, it became extremely inconvenient.
It was not possible to make friends with the v.5.0.0 interpreter with node-inspector`om.
Answer the question
In order to leave comments, you need to log in
Unit tests (and splitting the application into separate, debugged, and covered packages) greatly reduce the need for debugging. Well, the rest is the old fashioned way, console.error :(
I, in order to save myself from the eternal monitoring of the logs, hung up the global handler on uncaughtException and send myself error stacks by email.
Very comfortably
process.on('uncaughtException', function (err) {
mailer.SendErrCrashEmail({err: err, stack: err.stack});
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question