一直都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
。
回复 (7)
I
- http://i5ting.github.io/node-debug-tutorial/#1040202
- https://cnodejs.org/topic/5463f6e872f405c829029f7e
node-inspector在项目大的时候会比较慢,其他都很好,vsc是做过优化的
R
@i5ting
R
赞下,回来再看
H
mark,有时间再仔细看看。
R
这资源占用。。。
G
vscode多好 以前也用这= = 但是太麻烦了
H
mark
参与回复
登录后即可参与回复。登录