filmov
tv
How to Debug Node.js Code

Показать описание
Install the node package modules or NPM off legitimate websites instead of someone’s computer science graduate project.
I got the one off GitHub.
Use good API libraries to install the cloud server nodes. And make sure you install all the files you need.
I’ve never heard of it.
So what options do I have?
Or, like a lot of things, if you don’t put it in the debug configuration.
A starting place might be alert debugging via print statements.
That requires putting it in the code I’m writing.
It is like putting pause statements in code to help you identify which sections contain errors. Then again, you could use Locus to troubleshoot via command line injection.
I’m not that good at command line stuff; if I was, I’d be in PHP.
So use node monkey.
I’m not a code monkey. I’m a developer.
Any other ideas?
I like having options, so I can find something that works.
Then, hopefully, so will your code.