debug very slow for popular open source project

i've been trying to run this project in web storm

http://keystonejs.com/

and it does run once the mongo db is set up. however, when trying to debug, it takes a very long time to start (over 20 seconds).

This command line /usr/local/bin/node --debug keystone.js seems to run much faster than the standard debug command

/usr/local/bin/node --debug-brk=63371 --nolazy keystone.js

i would like to run from the ide. anyways, i was hoping you could help.


my debug config is attached.

i stumbled on this thread
https://github.com/joyent/node/issues/9125

which seemed to help

i'm running 10.0.4 on a mac


Attachment(s):
Screen Shot 2015-06-27 at 3.17.04 PM.png
2 comments
Comment actions Permalink

What is your node.js version? 0.12.* Node versions are known for slowness while debugging (https://github.com/nodejs/io.js/issues/877). See https://youtrack.jetbrains.com/issue/WEB-16076#comment=27-981720 for a workaround

0
Comment actions Permalink

Hi, I am running 12.6 and recently compared debugging my project which took 8 seconds to start up, where in atom using an atom node debugger, it took about 3 seconds.

0

Please sign in to leave a comment.