CNode

第一次试node-inspector简直酷炫啊

分享
Rreverland发布于11 年前最后回复11 年前7 回复6008 浏览0 收藏

一直都console.log console.log console.log。。。

看了下特性列表

Navigate in your source files
Set breakpoints (and specify trigger conditions)
Step over, step in, step out, resume (continue)
Inspect scopes, variables, object properties: 是不是可以免去满篇的print了
Hover your mouse over an expression in your source to display its value in a tooltip
Edit variables and object properties:check and modify on the fly~
Continue to location
Break on exceptions: 这是啥意思。。。等到出问题看看
Disable/enable all breakpoints
CPU and HEAP profiling: 一直觉得我这种闭包递归满天飞的写法会有内存的问题,虽然现在没用过这些,有这个大概能对程序稳定性更有信心了。
Network client requests inspection: 终于可以不设置中间人来查看https流量了。。
Console output inspection

Screenshot from 2016-01-17 11:50:38.png

Screenshot from 2016-01-17 11:50:26.png

Screenshot from 2016-01-17 11:50:03.png

Screenshot from 2016-01-17 11:49:43.png

查看回复

回复 (7)

I
i5ting#1·11 年前

node-inspector在项目大的时候会比较慢,其他都很好,vsc是做过优化的

R
reverland#2·11 年前

@i5ting Screenshot from 2016-01-17 13:07:02.png

R
reverland#3·11 年前

赞下,回来再看

H
haibinpark#4·11 年前

mark,有时间再仔细看看。

R
reverland#5·11 年前

这资源占用。。。

Screenshot from 2016-01-17 18:14:51.png

G
gjc9620#6·11 年前

vscode多好 以前也用这= = 但是太麻烦了

H
holyselina#7·11 年前

mark

参与回复
登录后即可参与回复。登录