ufo22940268
V2EX  ›  Node.js

Webstorm 怎么调试 nodejs 会这么慢

  •  
  •   ufo22940268 · Feb 3, 2015 · 6757 views
    This topic created in 4132 days ago, the information mentioned may be changed or developed.
    调试的项目里面有用到mongodb和express,测试框架用的是mocha

    平时跑测试用例的时候速度不错,但是调试测试用例的时候速度慢得一逼。每次初始化都要初始化5秒这样子。和Webstorm有关系吗?
    3 replies    2015-02-27 23:06:22 +08:00
    lurongkai
        1
    lurongkai  
       Feb 3, 2015
    建议用node-inspector
    robertlyc
        2
    robertlyc  
       Feb 4, 2015
    从不用IDE
    tutulyy
        3
    tutulyy  
       Feb 27, 2015
    回调函数太多,debug需要保存的信息量瞬间爆炸。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3122 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 14:00 · PVG 22:00 · LAX 07:00 · JFK 10:00
    ♥ Do have faith in what you're doing.