node.js debug调试
2016-11-30 13:07
429 查看
1 新建一个debug.js
var a='world';
var b=function(x){
console.log("hello"+x)
};
b(a);
在终端中输入node debug debug.js
E:\node>node debug debug.js
< Debugger listening on port 5858
debug> . ok
break in E:\node\debug.js:1
> 1 var a='world';
2 var b=function(x){
3 console.log("hello"+x)
debug> c
< helloworld
debug>
var a='world';
var b=function(x){
console.log("hello"+x)
};
b(a);
在终端中输入node debug debug.js
E:\node>node debug debug.js
< Debugger listening on port 5858
debug> . ok
break in E:\node\debug.js:1
> 1 var a='world';
2 var b=function(x){
3 console.log("hello"+x)
debug> c
< helloworld
debug>
相关文章推荐
- Node.js利用debug模块打印出调试日志的方法
- node.js进行debug调试模式
- Node.js调用debug组件启动调试模式
- 在Visual Studio上开发Node.js程序(2)——远程调试及发布到Azure
- 使用Eclipse调试Node.js代码
- IE下js调试工具的安装--Companion.JS+DebugBar
- 用Eclipse调试Node.js代码
- 调试Node.JS的辅助工具(NodeWatcher)
- 用Eclipse调试Node.js代码
- 【ask】webstorm调试node单个js文件
- Node.js学习(8)----调试
- 使用webstorm调试node.js
- js调试工具 Javascript Debug Toolkit 2.0.0版本发布
- NodeJS debug on eclipse
- node.js调试
- 关于vs2012中集成node.js开发调试环境
- 调试Node.JS的辅助工具(NodeWatcher)
- eclipse调试远程主机node.js无法连接的问题
- node.js 调试注意项
- 使用sublime调试node.js