ufo22940268
V2EX  ›  Node.js

Webstorm 怎么调试 nodejs 会这么慢

  •  
  •   ufo22940268 · Feb 3, 2015 · 7106 views
    This topic created in 4293 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
    lurongkai
    Feb 3, 2015
    1
    建议用node-inspector
    robertlyc
    robertlyc
    Feb 4, 2015
    2
    从不用IDE
    tutulyy
    tutulyy
    Feb 27, 2015
    3
    回调函数太多,debug需要保存的信息量瞬间爆炸。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4830 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 96ms · UTC 07:56 · PVG 15:56 · LAX 23:56 · JFK 02:56
    ♥ Do have faith in what you're doing.