Slow debug refresh with node.js

I'm using IntelliJ with a simple node.js 6.x CLI project.

When debugging the project in step-over mode, I noticed that the refresh "Variable" window panel is slow for updating data

After each step, it displays a "Collecting data..." which is pretty time consuming.

 

Miss something ?

 

 

5 comments
Comment actions Permalink

what Idea version do you use? May be related to https://youtrack.jetbrains.com/issue/WEB-21192...

0
Comment actions Permalink

2016.2.4, and the problem remains

0
Comment actions Permalink

Can you check if the problem persists when using different Node.js versions (4.x, for example)? Also, can you provide a sample project I can use to recreate the issue?

0
Comment actions Permalink

You just create a CLI node.js project with a tiny test like :

var a=5, b=6;

a++;

b = 6;

b+= a*5;

You set a breakpoint on the first line, and you debug step-by-step :

With VSCode (for instance) no delay, the refresh is fast without redrawing the whole debug variable window.

 

And yes the behaviour is the same with all node version

 

0
Comment actions Permalink

thanks:) Please vote for https://youtrack.jetbrains.com/issue/WEB-18191 to be notified on any progress with this issue

0

Please sign in to leave a comment.