[Nodejs] Debug-Ternimal

xiaoxiao2021-02-28  134

现状:桌面上的notes-node文件里有个playground文件夹,里面有一个debugging.js文件,要debug这个文件

命令c是继续,命令n是下一行,如果提前在文件中打入debugger;

这个时候debug的话输入命令c会直接到debugger这边,更便捷更快一些

命令repl是切换到可以看参数的具体情况的时候,例如输入person什么的

想要退出:control+c

退出debug:clear

转载请注明原文地址: https://www.6miu.com/read-19483.html

最新回复(0)