Monday, 13 March 2017

Nodejs --debug-brk extremely slow

I'm using node v6.10.0 and trying to figure out why my --debug-brk is so incredibly slow. Without this flag (with just --inspect or --debug), it's almost instantaneous, though the debugger still takes forever to attach.

This one flag dramatically increases the load time. My project is taking 50s+ to start up when debugging is enabled.

Any ideas on how to start debugging this issue?



via MattEnth

No comments:

Post a Comment