Nodejs 调试
2016-01-12 16:02
645 查看
1、安装 node-inspector
npm install -g node-inspector
2、启动node
3、启动node-inspector –web-port=[port] ,默认port 8080
4、在浏览器调试
npm install -g node-inspector
2、启动node
C:\>node --debug bin/www Debugger listening on port 5858 Listening on port 8080 +0ms
3、启动node-inspector –web-port=[port] ,默认port 8080
C:\>node-inspector Node Inspector v0.12.5 Visit http://127.0.0.1:8080/?ws=127.0.0.1:8080&port=5858 to start debugging.
4、在浏览器调试
相关文章推荐
- nodejs 服务器创建及文件读写操作
- Node开发文件上传系统及向七牛云存储和亚马逊AWS S3的文件上传
- Node.js_基本类型
- CDH集群nodemanager启动不了
- 开始学nodejs——net模块
- The given node was not created by the current document
- hadoop源代码解读namenode高可靠:HA;web方式查看namenode下信息;dfs/data决定datanode存储位置
- nodejs events模块
- nodejs IDE 编译器
- Ubuntu下安装Nodejs
- NodeJs 写服务器案例 搭建服务器 创建服务器
- LeetCode_237. Delete Node in a Linked List
- 25. Reverse Nodes in k-Group leetcode Python 2016 new season
- nodeJS
- [LeetCode] Remove Nth Node From End of List 解题报告
- [LeetCode] Reverse Nodes in k-Group 解题报告
- [LeetCode] Swap Nodes in Pairs 解题报告
- [LeetCode] Populating Next Right Pointers in Each Node 解题报告
- [LeetCode] Populating Next Right Pointers in Each Node II 解题报告
- 《转》 Openstack Grizzly 指定 compute node 创建 instance