Starting my Node.js server in debug mode has become very slow, to the point of being almost unusable.
Currently my Node.js server process takes about 11 seconds to start in debug. That is a big improvement in relationship with some of the earlier builds of version 6 which could take up to 20 seconds. But it compares badly with a second when I startit from the command line or simply hit "run" from WebStorm. The same project opened with WebStorm 5 only takes 4 seconds to start in debug. In all this cases, it is always the same project with the same code.
The startup sequence is quite straightforward: I load express (with some routes), connect to mongodb and redis and wait for connections. Nothing fancy.
I have increased my vm options to make sure that it is not memory starved, but I haven't seen any improvements. Any ideas?