V8 Inspector Integration for Node.js# NOTE: This is an experimental feature.
V8 Inspector integration allows attaching Chrome DevTools to Node.js instances for debugging and profiling.
V8 Inspector can be enabled by passing the --inspect flag when starting a Node.js application. It is also possible to supply a custom port with that flag, e.g. --inspect=9222 will accept DevTools connections on port 9222.
To break on the first line of the application code, provide the --debug-brk flag in addition to --inspect.
新浪云node容器吗?
我用了一段时间,也是微信公众号。不过成本有点高。
本地调试的话用花生壳做映射,然后公众号url地址填花生壳给你分配的域名即可。
什么工具无所谓,反正主要是把你本地映射到公网就ok
升级到新版本的nodejs
然后浏览器打开远程调试地址
我最喜欢的就是上文档
https://nodejs.org/api/debugg...
如果你的代码上到服务端了,你把相应的端口转发出来就行了