Debugging Node.js with Chrome DevTools

https://nodejs.org/en/docs/guides/debugging-getting-started/

1.

PS C:\Users\clu\Documents\NodeApp\Test> node --inspect .\app.js
Debugger listening on ws://127.0.0.1:9229/34c03922-857b-4e6d-82cf-30dbf27a76ff
For help, see: https://nodejs.org/en/docs/inspector
Server running at http://127.0.0.1:3000/

2.在Chrome浏览器中打开about:inspect

3.打开 Click the Open dedicated DevTools for Node link.

在vs2017中调试

https://github.com/Microsoft/nodejstools/wiki/Debugging

创建Node.js项目,https://github.com/Microsoft/nodejstools/wiki/Projects

debug设置,https://github.com/Microsoft/nodejstools/wiki/Debugging#debugging-options

Developer Tools in Chrome(Chrome Extension)

https://chrome.google.com/webstore/detail/nodejs-v8-inspector-manag/gnhhdgbaldcilmgcpfddgdbkhjohddkj

最新文章

  1. setenv.bat
  2. oracle触发器加条件判断
  3. Java中的Double类型计算
  4. spark yarn-cluster 和 yarn-client提交的配置
  5. [spring] java.lang.reflect.MalformedParameterizedTypeException
  6. Centos6.5网络无法连接问题
  7. php安装中的错误
  8. 欧几里得求最大公约数--JAVA递归实现
  9. ZOJ3626(树形dp)
  10. 二分图匹配 洛谷 [P3386]
  11. JavaScript设计模式(7)-设配器模式
  12. Windows使用MongoDB,以及索引创建
  13. Sql server not in优化
  14. python多进程并发和多线程并发和协程
  15. (3)打造简单OS-MBR引导区转移加载简单程序(突破512限制)
  16. React-native-camera error with Expo: undefined is not an object (evaluating 'CameraManager.Aspect')
  17. Linux(CentOS7.0)下 C访问MySQL (转)
  18. 获取请求真实ip
  19. 如何fork比特币的源码并同步更新到本地
  20. Android敏捷开发、CI(持续集成)探究

热门文章

  1. vue hash模式和404页面的配置
  2. mybatis传多个参数(不使用@param注解情况下),3.4.2版本之后出现#{0}-#{n}参数绑定异常
  3. Layui表格之动态添加数据(表格多选解决方案)
  4. Python 网络编程介绍
  5. Redis 压缩存储的配置
  6. ResNet实战
  7. 九度oj 题目1196:成绩排序
  8. 九度oj 题目1056:最大公约数
  9. 【转】 Java中的IO整理
  10. sql 日期问题从周转换到日期