KilimaTango KilimaTango - 4 years ago 151
Node.js Question

Debug server-side code with readline module in node.js

I'm new to Javascript and Node.js.

Coming from C# I want to debug something like this with breakpoints set in Debugging-console:

var name = Console.readline();

It seems to be so simple, but I fail. What I found so far is, that after

npm install sget

I can run app.js in integrated terminal and it will work interactively. But that ignores my breakpoints.

So, how can I work with readline-functionality and breakpoints set?

Answer Source

Head over to these documentations :

these might help solve your problem.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download