跳到主要内容
CNode

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

分享
Rreverland发布于 11 年前最后回复 11 年前
760650

一直都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)

H
holyselina#711 年前

mark

G
gjc9620#611 年前

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

R
reverland#511 年前

这资源占用。。。

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

H
haibinpark#411 年前

mark,有时间再仔细看看。

R
reverland#311 年前

赞下,回来再看

R
reverland#211 年前

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

I
i5ting#111 年前

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

参与回复

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