Linked Questions

49 questions linked to/from How do I debug Node.js applications?
4 votes
1 answer
2k views

I'm just starting with Node.js but I have experience with client-side JavaScript and PHP/Apache. In your browser you can execute JS code from the developer console at any time. You can manipulate ...
Jared's user avatar
  • 3,026
7 votes
0 answers
395 views

I'm new to Karma and node.js. I am trying to run my Karma test but I get an error with an unhelpful message. Is there any way I can debug my test to see where the problem is?
Joe's user avatar
  • 8,082
2 votes
3 answers
166 views

I'm currently new to Node.js, as I had previous experience with PHP server before, I know that I can debug the server in PHPStorm that supports breakpoints and I can follow the process step by step. I'...
0 votes
0 answers
79 views

Hi I am new to to NODE JS. My Application is using express,grunt, mocha also. I just use grunt command and all the initial setup for running files is set. Now in one of the files for authentication, I ...
Akshay's user avatar
  • 161
772 votes
13 answers
327k views

I want to force the Chrome debugger to break on a line via code, or else using some sort of comment tag such as something like console.break().
70 votes
17 answers
46k views

I am going to start building project in node.js (was working in PHP before), What is the IDE, Debugger and Helping Tools for node.js, to help improvement while coding ?
Mark's user avatar
  • 1,381
151 votes
5 answers
146k views

I am using the javascript test-runner "Mocha". I have a test that is failing, so I would to debug it using console.log. But when the tests are run, there is no output (only the test results from ...
48 votes
5 answers
61k views

I've installed node-inspector just to find out that it doesn't support breakpoints :| What's the point in it at all, bearing in mind that on big part node code is asynchronous and you simply cannot ...
41 votes
7 answers
23k views

I have an app built in node.js and I use the node inspector in order to debug. But it's quite hard because of this: My breakpoints are never saved after I restart the server I cannot put a breakpoint ...
Totty.js's user avatar
  • 15.9k
22 votes
4 answers
7k views

From someone with few experience in JS, what do you recommend for learning Node.js? I read a lot in the forum about event driven, non-blocking , async, callbacks, etc but I don't know what's that! ...
donald's user avatar
  • 23.8k
27 votes
4 answers
22k views

I can successfully connect the VS Code debugger to my remote NodeJS target using the Chrome protocol. I believe that same protocol supports profiling and performance measurements as it is easy to do ...
24 votes
3 answers
39k views

I'm trying to write a wrapper for Twitter using Electron (formerly Atom Shell). My main.js file (it looks almost identical to the "Hello World" example, I just changed it in one place): var app = ...
19 votes
5 answers
9k views

And actually, I don't fully understand why my code is not in the stack trace, if node is single threaded. Maybe I'm fundamentally misunderstanding, something, but why does my application sometimes ...
Jer's user avatar
  • 5,708
25 votes
5 answers
22k views

I'd like to monitor how long each run of the event loop in node.js takes. However I'm uncertain about the best way to measure this. The best way I could come up with looks like this: var interval = ...
23 votes
2 answers
22k views

my nodejs process which was running at Linux, now it is hang and the CPU is 100%. Is there anyway I can do to debug it and find the reason? Do I need to collect dump and how? Thanks.

15 30 50 per page
1
2 3 4