Nodejs in Visual Studio Code 14.IISNode与IIS7.x
2016-05-26 16:03
896 查看
1.开始
部署IISNode环境请参考:Nodejs in Visual Studio Code 08.IIS
部署Nodejs程序请参考:Nodejs in Visual Studio Code 10.IISNode
IISNode版本:v0.2.21
2.IIS 7.x
目前版本v0.2.21默认要求Web服务器支持WebSockets,因为IIS7.x不支持(windows 7,2008),无法使用iisnode中的Node Inspector模块使用浏览器进行远程调试。
解决的方式很简单,在web.config中增加一个配置节<iisnode debuggerExtensionDll="iisnode-inspector.dll" />
部署IISNode环境请参考:Nodejs in Visual Studio Code 08.IIS
部署Nodejs程序请参考:Nodejs in Visual Studio Code 10.IISNode
IISNode版本:v0.2.21
2.IIS 7.x
目前版本v0.2.21默认要求Web服务器支持WebSockets,因为IIS7.x不支持(windows 7,2008),无法使用iisnode中的Node Inspector模块使用浏览器进行远程调试。
解决的方式很简单,在web.config中增加一个配置节<iisnode debuggerExtensionDll="iisnode-inspector.dll" />
<configuration> <system.webServer> <!-- index.js 是myapp的启动程序 --> <handlers> <add name="iisnode" path="index.js" verb="*" modules="iisnode" /> </handlers> <rewrite> <rules> <rule name="myapp"> <match url="index.js/debug" negate="true" /> <action type="Rewrite" url="index.js" /> </rule> </rules> </rewrite> <!-- iis7下调试 --> <iisnode debuggerExtensionDll="iisnode-inspector.dll" /> </system.webServer> </configuration>
相关文章推荐
- 19. Remove Nth Node From End of List(Linked List)
- Nodejs学习笔记(三)
- ROS的节点(NODE)
- AVA实践:面向未来的Node.js测试运行器
- node更新版本后sass无法编译解决办法
- node.js学习
- Swap Nodes in Pairs(交换链表相邻的两个结点)
- 25. Reverse Nodes in k-Group
- leetcode---Swap Nodes in Pairs
- node
- Nodejs正则表达式函数之match、test、exec、search、split、replace使用详解
- NodeJs初学者经典入门解析
- Elasticsearch NoNodeAvailableException 问题解决
- nodejs安装
- nodejs MODEL层 封装(一)
- 222. Count Complete Tree Nodes
- Yslow on Nodejs server
- DOMNodeInserted监听div内容改变
- node+fis3搭建
- hadoop2.5集群迁移namenode