<img src=http://img.itc.cn/photo/ojwemq2SLab> 以前用过gdb,现在用node debug,彻底sb了:(
楼下知道怎么正确地sb么:)
btw: debugger肿么了? <img src=http://img.itc.cn/photo/ojwgmlL6cP8>
可是用其他的,node-inspector
sb(1)
http://nodejs.org/api/debugger.html
inspector也不好用啊,要打开浏览器,还要切换标签,才能看变量的值:( <img src=http://img.itc.cn/photo/ojwrF16vT5f>
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
可是用其他的,node-inspector
sb(1)
http://nodejs.org/api/debugger.html
inspector也不好用啊,要打开浏览器,还要切换标签,才能看变量的值:( <img src=http://img.itc.cn/photo/ojwrF16vT5f>