Where is the node.js file in the stack trace located?

Posted by user225189 on Stack Overflow See other posts from Stack Overflow or by user225189
Published on 2010-03-29T05:25:02Z Indexed on 2010/03/29 5:33 UTC
Read the original article Hit count: 516

Filed under:
|
|
|

Obviously, I'm pretty new to node.js. I'm attempting to debug a node.js application and I see node.js in the stack trace.

I would like to put some sys.puts calls in there, but I cannot locate the node.js that is being run by my server.

Is there a way to tell where node.js is located? Is there an equivalent to Ruby's FILE in node?

Thanks, Brian

© Stack Overflow or respective owner

Related posts about node-js

Related posts about JavaScript